Use w:majority for operations in change stream tests
This will avoid spurious test failures due to timing and ensure that each acknowledged write is returned in the next change stream iteration.
Showing
Please
register
or
sign in
to comment