Skip to content

Commit

Permalink
the new line always wants to be inserted, i will stop fighting it now
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepyStick committed Sep 16, 2024
1 parent a0d285b commit 0ad7be2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/asynchronous/test_change_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ async def test_try_next(self):
async with await self.change_stream(max_await_time_ms=250) as stream:
self.assertIsNone(await stream.try_next()) # No changes initially.
await coll.insert_one({}) # Generate a change.

# On sharded clusters, even majority-committed changes only show
# up once an event that sorts after it shows up on the other
# shard. So, we wait on try_next to eventually return changes.
Expand Down

0 comments on commit 0ad7be2

Please sign in to comment.