From 3b2eac5f2f508d8939e2a4f97085fe5d10af9727 Mon Sep 17 00:00:00 2001 From: Michal Maslanka Date: Thu, 21 Dec 2023 10:50:43 +0100 Subject: [PATCH] tests: disable leadership balancer in cg recovery test The consumer group recovery test doesn't do any validation if offset listing was successful. Disabling leader balancer will make the test more stable before we introduce validation in recovery tool (now the tool assumes that user is going to review offsets listing). Signed-off-by: Michal Maslanka --- tests/rptest/tests/consumer_group_recovery_tool_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/rptest/tests/consumer_group_recovery_tool_test.py b/tests/rptest/tests/consumer_group_recovery_tool_test.py index d93b75ca5762..92121d03e738 100644 --- a/tests/rptest/tests/consumer_group_recovery_tool_test.py +++ b/tests/rptest/tests/consumer_group_recovery_tool_test.py @@ -38,7 +38,8 @@ def __init__(self, test_ctx, *args, **kwargs): # clear topics from the the kafka_nodelete_topics to allow for # __consumer_offsets to be configured in this test. "kafka_nodelete_topics": [], - "group_topic_partitions": self.initial_partition_count + "group_topic_partitions": self.initial_partition_count, + "enable_leader_balancer": False, }, node_prealloc_count=1, **kwargs)