Skip to content

Commit

Permalink
Merge pull request redpanda-data#16280 from vbotbuildovich/backport-p…
Browse files Browse the repository at this point in the history
…r-16127-v23.2.x-666

[v23.2.x] rptest: Wait for the group to be in a stable state before starting tests
  • Loading branch information
piyushredpanda authored Jan 30, 2024
2 parents dfc35c0 + 7c97154 commit 73b732c
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 73b732c

Please sign in to comment.