Skip to content

Commit

Permalink
update assert from Equal to GreaterEqual
Browse files Browse the repository at this point in the history
  • Loading branch information
sgandhi1311 committed Dec 11, 2024
1 parent 64b06cc commit 821208e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_mongodb_oplog_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,7 @@ def test_run(self):
self.expected_sync_streams(),
self.expected_pks())

# Verify that we get 30 records due to the above transactions performed and 1 prior record
# matching the bookmark value.
# Verify that we get 30 records due to the above transactions performed
# (could be more due to overlap in gte oplog clause)
self.assertEqual(31,
self.assertGreaterEqual(31,
record_count_by_stream[self.table_name])

0 comments on commit 821208e

Please sign in to comment.