Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reproduce asyncio failure with stackdriver leaking pytest fixture tasks
There is a very strange error in our test suite which only occurs in Postgres + Python 3.10 combination of tests where apparently a non-cancelled test from pytest-asyncio fixtured event loop is cancelled much later in different tests, producing an unexpected log entry and failing TestGetGcpCredentialsAndProjectId.test_disable_logging. See apache#36440 and likely the root cause is pytest-dev/pytest-asyncio#200 This PR will allow to test the hypothesis and might help to iterate over potential solutions.
- Loading branch information