SERVER-138360ClosedFixed

Make test less flaky

The underlying test currently records the current time and opens a change stream at that time using {{startAtOperation´. }}startAtOperationTime{{is inclusive, so the change stream can observe an unrelated event. If the test is run in a loop inside the same fixture (e.g. during burn-in), it may observe the collection drop from the previous test run's}}afterEach()` cleanup. This will immediately invalidate the change stream when it is opened, which can cause flakiness.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue
Change streams
Labels
Tags and classification

No labels assigned.