Skip to content

Commit

Permalink
Avoid busy retry test_consumer_group.py
Browse files Browse the repository at this point in the history
Test test/test_consumer_group.py::test_group busy-retry and this might
have caused Java not having enough CPU time on GitHub runner, and result
in test failure.
  • Loading branch information
orange-kao committed Aug 9, 2024
1 parent 401896b commit f5e6a4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_consumer_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def consumer_thread(i):
logging.info('Rejoining: %s, generations: %s', rejoining, generations)
time.sleep(1)
assert time.time() < timeout, "timeout waiting for assignments"
time.sleep(0.25)

logging.info('Group stabilized; verifying assignment')
group_assignment = set()
Expand Down

0 comments on commit f5e6a4d

Please sign in to comment.