Skip to content

Commit

Permalink
tests/cg_consistency: changed timeout to 120s
Browse files Browse the repository at this point in the history
KgoVerifierConsumer uses join timeout of 60 seconds, this may lead to
situation in which consumer group will be rebalancing for 1 minute which
resulted in a test assertion to be triggered. Changed the timeout to
account for the consumer join timeout.

Signed-off-by: Michal Maslanka <michal@redpanda.com>
(cherry picked from commit 08fd7aa)
  • Loading branch information
mmaslankaprv authored and vbotbuildovich committed Sep 1, 2023
1 parent eb158ae commit 2ff470b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rptest/tests/consumer_offsets_consistency_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def fi_worker():
)
if self.failure_cnt >= 20:
break
timeout = 60
timeout = 120
if time.time() - self.last_success > timeout:
assert False, f"Unable to retrieve group description for {timeout} seconds"
finally:
Expand Down

0 comments on commit 2ff470b

Please sign in to comment.