Skip to content

Commit

Permalink
Merge pull request #16279 from vbotbuildovich/backport-pr-16127-v23.3…
Browse files Browse the repository at this point in the history
….x-79

[v23.3.x] rptest: Wait for the group to be in a stable state before starting tests
  • Loading branch information
piyushredpanda authored Jan 25, 2024
2 parents 4a2bed2 + e94a7da commit e562b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rptest/tests/consumer_group_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def create_consumers(self,

def group_is_ready():
gr = rpk.group_describe(group=group, summary=True)
return gr.members == consumer_count
return gr.members == consumer_count and gr.state == "Stable"

wait_until(group_is_ready, 60, 1)
return consumers
Expand Down

0 comments on commit e562b34

Please sign in to comment.