-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(nemesis): make sure
set_target_node
always set `current_disrupt…
…ion` before there was two seprate calls to `set_target_node` and to `set_current_disruption` that could end up with `set_target_node` setting None to the `target_node.running_nemesis` this fix move `set_current_disruption` into `set_target_node` to avoid this problem, and also introduce a new paramter to `set_target_node` so any user of it can set what's the data that would be saved on the target node (it's only for debugging) Fixes: #8198 (cherry picked from commit a12ee91)
- Loading branch information
Showing
1 changed file
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters