Increase test timeouts
Seems these were set too low, and causing tests to fail.
Change-Id: Ib02f47ad91d5e28abe2bb171a0d5356510afdadd
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
diff --git a/osm_lcm/tests/test_vim_workflows.py b/osm_lcm/tests/test_vim_workflows.py
index 7ec5d18..515d3ad 100644
--- a/osm_lcm/tests/test_vim_workflows.py
+++ b/osm_lcm/tests/test_vim_workflows.py
@@ -45,8 +45,10 @@
from temporalio.testing import WorkflowEnvironment
from temporalio.worker import Worker
-TASK_TIMEOUT = timedelta(seconds=0.5)
-EXECUTION_TIMEOUT = timedelta(seconds=1)
+# Prevent the tasks from running indefinitely
+TASK_TIMEOUT = timedelta(seconds=5)
+# Prevent the workflow from running indefinitely
+EXECUTION_TIMEOUT = timedelta(seconds=10)
class TestException(Exception):
@@ -152,6 +154,8 @@
]
)
class TestVimWorkflow(TestVimWorkflowsBase):
+ workflow_name: str
+
async def test_nominal_case_updates_vim_state_and_vim_op_state(self):
activities = [
mock_test_vim_connectivity,