Skip to content

\AsyncAws\Core\Tests\Unit\ResultTest::testWaitWithExceptionOnDestruct fails when running tests with xdebug enabled #1978

Description

@stof

When running tests with xdebug enabled (in develop mode in my case), \AsyncAws\Core\Tests\Unit\ResultTest::testWaitWithExceptionOnDestruct fails because the Result is not destructed inside the test.

My debugging made me discover that the UnparsableResponse exception that is used by the AwsErrorFactory layer and caught in the Response object is somehow increasing the refcount of the Result object (probably due to its stack trace) when xdebug is loaded even when that exception goes out of scope.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions