mongo-python-driver icon indicating copy to clipboard operation
mongo-python-driver copied to clipboard

PYTHON-5090 Convert test.test_monitor to async

Open sleepyStick opened this issue 11 months ago • 1 comments

sleepyStick avatar Jan 30 '25 23:01 sleepyStick

okay in summary, we need the unmanaged async client for the test, because we want to test that the executors get GCd on client del and client.close. if we used managed, the client will not get GCd. on pypy GC is non-deterministic hence the failure. with that said, i believe the only failure is because of that and we should either skip this test in pypy (if so how?) or do something else to mitigate the failing test?

sleepyStick avatar Feb 21 '25 22:02 sleepyStick

The windows test failures are from test_connection_monitoring and test_async_cancellation, neither of which relate to this PR to my knowledge :)

sleepyStick avatar Feb 24 '25 21:02 sleepyStick