Reset retry policy 38/13638/1
authorDaniel Arndt <daniel.arndt@canonical.com>
Wed, 5 Jul 2023 17:20:10 +0000 (14:20 -0300)
committerDaniel Arndt <daniel.arndt@canonical.com>
Wed, 5 Jul 2023 17:20:10 +0000 (14:20 -0300)
This was set to workaround a test failure, but that test failure was
fixed in CR 13625

Change-Id: Ia867eb621a93c6537bbea8c7cf30b074296acd98
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
osm_lcm/tests/test_vim_workflows.py

index 515d3ad..500ce82 100644 (file)
@@ -182,7 +182,7 @@ class TestVimWorkflow(TestVimWorkflowsBase):
             self.mock_update_vim_state_raises,
             self.mock_update_vim_operation_state,
         ]
-        retry_policy = 1  # TODO: Figure out what this should be anchored to
+        retry_policy = 3
         expected_vim_state = [VimState.ENABLED] * retry_policy
         expected_vim_op_state = [VimOperationState.COMPLETED]
         async with self.env, self.get_worker(activities):
@@ -205,7 +205,7 @@ class TestVimWorkflow(TestVimWorkflowsBase):
             self.mock_update_vim_operation_state_raises,
         ]
         expected_vim_state = [VimState.ENABLED]
-        retry_policy = 1  # TODO: Figure out what this should be anchored to
+        retry_policy = 3
         expected_vim_op_state = [VimOperationState.COMPLETED] * retry_policy
         async with self.env, self.get_worker(activities):
             with self.assertRaises(WorkflowFailureError):