Skip to content

Commit

Permalink
Merge pull request #11471 from ztlpn/fix-11365
Browse files Browse the repository at this point in the history
node_decommissioning_test: fix order of throttle and decommission
  • Loading branch information
mmaslankaprv authored Jun 16, 2023
2 parents 992c1fc + 7259deb commit 3eac9a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/rptest/tests/nodes_decommissioning_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,11 +584,13 @@ def test_decommissioning_finishes_after_manual_cancellation(
to_decommission = random.choice(self.redpanda.nodes)
node_id = self.redpanda.node_id(to_decommission)

# throttle recovery
self._set_recovery_rate(100)

survivor_node = self._not_decommissioned_node(node_id)
self.logger.info(f"decommissioning node: {node_id}", )
self._decommission(node_id)

self._set_recovery_rate(100)
# wait for some partitions to start moving
wait_until(lambda: self._partitions_moving(node=survivor_node),
timeout_sec=15,
Expand Down

0 comments on commit 3eac9a5

Please sign in to comment.