Add time to wait for workflow canceled

This commit is contained in:
Mikhail f. Shiryaev 2022-05-19 15:23:08 +02:00
parent d4ad138a04
commit 9acb42fcdb
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -329,7 +329,7 @@ def main(event):
exec_workflow_url([most_recent_workflow.cancel_url], token)
print("Cancelled")
for _ in range(30):
for _ in range(45):
latest_workflow_desc = get_workflow_description(most_recent_workflow.run_id)
print("Checking latest workflow", latest_workflow_desc)
if latest_workflow_desc.status in ("completed", "cancelled"):