BB: Use /api/agent-signals/terminate-all instead of /api/monkey-control/stop-all-agents

This commit is contained in:
Shreya Malviya 2022-09-23 11:50:26 +05:30 committed by Mike Salvatore
parent bc43f81a11
commit 263fff28f3
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class MonkeyIslandClient(object):
@avoid_race_condition @avoid_race_condition
def kill_all_monkeys(self): def kill_all_monkeys(self):
response = self.requests.post_json( response = self.requests.post_json(
"api/monkey-control/stop-all-agents", json={"kill_time": time.time()} "api/agent-signals/terminate-all", json={"kill_time": time.time()}
) )
if response.ok: if response.ok:
LOGGER.info("Killing all monkeys after the test.") LOGGER.info("Killing all monkeys after the test.")