From f21a34ae3a8a4d5d3a6a33bf96251f5997674a8d Mon Sep 17 00:00:00 2001 From: Christopher Zell Date: Tue, 6 Dec 2022 15:02:15 +0100 Subject: [PATCH] feat: migrate follower terminate experiment --- .../follower-terminate/experiment.json | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/go-chaos/internal/chaos-experiments/camunda-cloud/production-s/follower-terminate/experiment.json b/go-chaos/internal/chaos-experiments/camunda-cloud/production-s/follower-terminate/experiment.json index 0831f68eb..ea957486d 100644 --- a/go-chaos/internal/chaos-experiments/camunda-cloud/production-s/follower-terminate/experiment.json +++ b/go-chaos/internal/chaos-experiments/camunda-cloud/production-s/follower-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 follower of partition 1", "provider": { "type": "process", - "path": "terminate-partition.sh", - "arguments": [ "Follower", "1"] + "path": "zbchaos", + "arguments": ["terminate", "broker", "--role", "FOLLOWER", "--partitionId", "1"] } } ],