Skip to content

Commit

Permalink
tests: added restart log allow list to dead group recovery test
Browse files Browse the repository at this point in the history
The `test_dead_group_recovery` test executes node restart to force group
metadata recovery on every node. Added restart log allow list to cluster
annotation to prevent test from failing with BadLogLines error

Fixes: #5626

Signed-off-by: Michal Maslanka <michal@redpanda.com>
  • Loading branch information
mmaslankaprv committed Jul 27, 2022
1 parent 9ad7e9d commit e0755f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/rptest/tests/consumer_group_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from rptest.clients.rpk import RpkTool
from rptest.clients.types import TopicSpec
from rptest.services.kafka_cli_consumer import KafkaCliConsumer
from rptest.services.redpanda import RESTART_LOG_ALLOW_LIST
from rptest.services.rpk_producer import RpkProducer
from rptest.tests.redpanda_test import RedpandaTest
from ducktape.utils.util import wait_until
Expand Down Expand Up @@ -304,7 +305,7 @@ def test_consumer_is_removed_when_timedout(self, static_members):
c.wait()
c.free()

@cluster(num_nodes=6)
@cluster(num_nodes=6, log_allow_list=RESTART_LOG_ALLOW_LIST)
@parametrize(static_members=True)
@parametrize(static_members=False)
def test_dead_group_recovery(self, static_members):
Expand Down

0 comments on commit e0755f5

Please sign in to comment.