Skip to content

Commit

Permalink
Merge pull request #11485 from mmaslankaprv/fix-11179
Browse files Browse the repository at this point in the history
Fixed setting max controller log length
  • Loading branch information
mmaslankaprv authored Jun 16, 2023
2 parents bf9ef7d + d9fc6dc commit 7497c89
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/rptest/tests/random_node_operations_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,15 +230,17 @@ def verify(self):
enable_controller_snapshots=[True, False])
def test_node_operations(self, enable_failures, num_to_upgrade,
enable_controller_snapshots):
if not enable_controller_snapshots:
# Without snapshots, there is not bound on how large
# the controller log may grow.
self.redpanda.set_expected_controller_records(None)

lock = threading.Lock()

# setup test case scale parameters
self._setup_test_scale(num_to_upgrade)

if not enable_controller_snapshots:
# Without snapshots, there is not bound on how large
# the controller log may grow.
self.redpanda.set_expected_controller_records(None)

if self.should_skip:
cleanup_on_early_exit(self)
return
Expand Down

0 comments on commit 7497c89

Please sign in to comment.