Skip to content

Commit

Permalink
Merge pull request #18525 from vbotbuildovich/backport-pr-16495-v23.2…
Browse files Browse the repository at this point in the history
….x-538

[v23.2.x] tests: disable snapshots when testing partial controller deletion
  • Loading branch information
ztlpn authored May 16, 2024
2 parents 0945c56 + d3cb9a6 commit c827fab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/rptest/tests/controller_erase_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ def test_erase_controller_log(self, partial):
"""

admin = Admin(self.redpanda)
# disable controller snapshot in partial removal test to make sure that
# the deleted segment is not snapshot before restarting the node
if partial:
self.redpanda.set_cluster_config(
{"controller_snapshot_max_age_sec": 3600})

# Do a bunch of metadata operations to put something in the controller log
transfers_leadership_count = 4
Expand Down

0 comments on commit c827fab

Please sign in to comment.