Skip to content

Commit

Permalink
feat: migrate leader restart
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisKujawa committed Dec 6, 2022
1 parent 72fea39 commit b5d889a
Showing 1 changed file with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
},
Expand All @@ -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
}
}
Expand All @@ -35,11 +47,11 @@
"method": [
{
"type": "action",
"name": "Terminate leader of partition 1",
"name": "Restart leader of partition 1",
"provider": {
"type": "process",
"path": "shutdown-gracefully-partition.sh",
"arguments": [ "Leader", "1" ]
"path": "zbchaos",
"arguments": ["restart", "broker", "--role", "LEADER", "--partitionId", "1"]
}
}
],
Expand Down

0 comments on commit b5d889a

Please sign in to comment.