From f2c7b1154e47bbdf8362db8d7b55fbee81aca6fd Mon Sep 17 00:00:00 2001 From: Casey Jao Date: Wed, 9 Feb 2022 15:56:03 -0500 Subject: [PATCH] Fix failing workflow cancellation test (#100) Increase sleep duration to 600 seconds to prevent workflow from completing before cancellation. Closes #93. --- CHANGELOG.md | 6 ++++++ VERSION | 2 +- tests/workflow_stack_test.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28d979589..dfc4f9d37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.24.10] - 2022-02-09 + +### Fixed + +- Sporadically failing workflow cancellation test in tests/workflow_stack_test.py + ## [0.24.9] - 2022-02-09 ## Changed diff --git a/VERSION b/VERSION index 04f88883f..ce1162f70 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.24.9 +0.24.10 diff --git a/tests/workflow_stack_test.py b/tests/workflow_stack_test.py index 78bbd45de..1c0a98f82 100644 --- a/tests/workflow_stack_test.py +++ b/tests/workflow_stack_test.py @@ -302,7 +302,7 @@ def test_dispatch_cancellation(): @ct.electron def task_1(): - time.sleep(4) + time.sleep(600) print("Task 1") return 5