Skip to content

Commit

Permalink
tests: mitigate MaintenanceTest failures by disabling leader_balancer
Browse files Browse the repository at this point in the history
The real fix will be to make the leader balancer aware
of maintenance mode, but the test has become much more
unstable since recent leader balancer changes to do
more movements concurrently, so for the moment just
run the test with the leader balancer disabled.

Related: redpanda-data#4772
  • Loading branch information
jcsp committed Jul 8, 2022
1 parent 3f6fd6f commit 52de359
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/rptest/tests/maintenance_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ class MaintenanceTest(RedpandaTest):
TopicSpec(partition_count=20, replication_factor=3))

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
super().__init__(*args,
extra_rp_conf={'enable_leader_balancer': False},
**kwargs)
self.admin = Admin(self.redpanda)
self.rpk = RpkTool(self.redpanda)
self._use_rpk = True
Expand Down

0 comments on commit 52de359

Please sign in to comment.