read probability instead of killing anyway
@@ -102,6 +102,9 @@ class PodScenario(Scenario):
signal=signal,
container_id=container_id.replace("docker://",""),
)
+
+ probability = params.get("probability", 1)
+ if probability >= random.random():
self.logger.info("Action execute '%s' on %r", cmd, item)
for value in self.executor.execute(
cmd, nodes=[node]
