Skip to content

Commit

Permalink
Fix test (#500)
Browse files Browse the repository at this point in the history
  • Loading branch information
gtopper authored Feb 5, 2024
1 parent b369026 commit c38a6bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,11 @@ def test_offset_commit_before_termination():
event.offset = offset
controller.emit(event)

del event

time.sleep(max_wait_before_commit + 1)

expected_offsets = {("/", i): num_records_per_shard for i in range(num_shards)}
# TODO: Remove when commit of last record is fixed
expected_offsets[("/", 9)] = 9

try:
offsets = copy.copy(platform.offsets)
Expand Down

0 comments on commit c38a6bb

Please sign in to comment.