Skip to content

Commit

Permalink
fix(nemesis): disrupt_remove_node_then_add_node was missing retry=0
Browse files Browse the repository at this point in the history
in ecc2c7e `long_running=True` paramter
was introduced, but it must come togther with `retry=0`, and that
was forgotten

Fixes: #9534
(cherry picked from commit e07010b)
  • Loading branch information
fruch committed Dec 15, 2024
1 parent e869c7a commit a31a657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdcm/nemesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -3556,7 +3556,7 @@ def remove_node():
.format(rnd_node.ip_address, host_id))
with adaptive_timeout(Operations.REMOVE_NODE, rnd_node, timeout=HOUR_IN_SEC * 48):
res = rnd_node.run_nodetool("removenode {}".format(
host_id), ignore_status=True, verbose=True, long_running=True)
host_id), ignore_status=True, verbose=True, long_running=True, retry=0)
if res.failed and re.match(removenode_reject_msg, res.stdout + res.stderr):
raise Exception(f"Removenode was rejected {res.stdout}\n{res.stderr}")

Expand Down

0 comments on commit a31a657

Please sign in to comment.