Skip to content

Commit

Permalink
Fix failing workflow cancellation test (#100)
Browse files Browse the repository at this point in the history
Increase sleep duration to 600 seconds to prevent workflow
from completing before cancellation.

Closes #93.
  • Loading branch information
cjao authored Feb 9, 2022
1 parent 44c8411 commit f2c7b11
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.24.9
0.24.10
2 changes: 1 addition & 1 deletion tests/workflow_stack_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def test_dispatch_cancellation():

@ct.electron
def task_1():
time.sleep(4)
time.sleep(600)
print("Task 1")
return 5

Expand Down

0 comments on commit f2c7b11

Please sign in to comment.