Repository: AgnostiqHQ/covalent (language: python)

Issue:
Test action failed
### Environment

- **Covalent version**: 0.24.5
- **Python version**: 3.8
- **Operating system**: Centos 7


### What is happening?

The test action failed on the develop branch: https://github.com/AgnostiqHQ/covalent/runs/5078639903?check_suite_focus=true

### How can we reproduce the issue?

Hard to reproduce.

### What should happen?

Test should pass.

### Any suggestions?

The unit test `test_dispatch_cancellation` has failed because the workflow completes before it can be cancelled.  This will not happen often, as evidenced by the test passing in the other environments.  Suggested remedy is to increase the sleep time to something very large, to ensure it absolutely cannot complete before cancellation.


Discussion / hints:
One can have infinite while loop in one electron to make it stay up until we cancel it.
Should potentially unbounded running times for the test be allowed?
I guess you could force kill the job (dispatch) at the end of this test. We want it unbound just till this particular test completes.
Should we add a timeout to the github test action?

Fix patch:
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 +1,1 @@
-0.24.9
+0.24.10


Test patch:
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