Skip to content

Commit

Permalink
tests/partition_balancer: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ztlpn committed Aug 13, 2022
1 parent 514f818 commit 0946f39
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions tests/rptest/tests/partition_balancer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,15 +258,14 @@ def test_movement_cancellations(self):
self.wait_until_status(lambda s: s["status"] == "in_progress")
ns.make_available()

with self.NodeStopper(self) as ns2:
# stop empty node
ns.make_unavailable(
empty_node, failure_types=[FailureSpec.FAILURE_KILL])
# stop empty node
ns.make_unavailable(empty_node,
failure_types=[FailureSpec.FAILURE_KILL])

# wait until movements are cancelled
self.wait_until_ready(expected_unavailable_node=empty_node)
# wait until movements are cancelled
self.wait_until_ready(expected_unavailable_node=empty_node)

self.check_no_replicas_on_node(empty_node)
self.check_no_replicas_on_node(empty_node)

self.run_validation(consumer_timeout_sec=CONSUMER_TIMEOUT)

Expand Down

0 comments on commit 0946f39

Please sign in to comment.