From 70b2d90e4ee185e7a92b141e4ed1f55e3be92b28 Mon Sep 17 00:00:00 2001 From: Christopher Zell Date: Wed, 7 Dec 2022 11:11:55 +0100 Subject: [PATCH] feat: migrate leader terminate experiment --- .../leader-terminate/experiment.json | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/go-chaos/internal/chaos-experiments/camunda-cloud/production-s/leader-terminate/experiment.json b/go-chaos/internal/chaos-experiments/camunda-cloud/production-s/leader-terminate/experiment.json index 349da86c8..dd22d948a 100644 --- a/go-chaos/internal/chaos-experiments/camunda-cloud/production-s/leader-terminate/experiment.json +++ b/go-chaos/internal/chaos-experiments/camunda-cloud/production-s/leader-terminate/experiment.json @@ -15,7 +15,19 @@ "tolerance": 0, "provider": { "type": "process", - "path": "verify-readiness.sh", + "path": "zbchaos", + "arguments": ["verify", "readiness"], + "timeout": 900 + } + }, + { + "name": "Can deploy process model", + "type": "probe", + "tolerance": 0, + "provider": { + "type": "process", + "path": "zbchaos", + "arguments": ["deploy", "process"], "timeout": 900 } }, @@ -25,8 +37,8 @@ "tolerance": 0, "provider": { "type": "process", - "path": "verify-steady-state.sh", - "arguments": "1", + "path": "zbchaos", + "arguments": ["verify", "instance-creation", "--partitionId", "1"], "timeout": 900 } } @@ -38,8 +50,8 @@ "name": "Terminate leader of partition 1 non-gracefully", "provider": { "type": "process", - "path": "terminate-partition.sh", - "arguments": [ "Leader", "1" ] + "path": "zbchaos", + "arguments": ["terminate", "broker", "--role", "LEADER", "--partitionId", "1"] } } ],