File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
services/director-v2/tests/unit/with_dbs/comp_scheduler Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 4848 retry ,
4949 retry_if_exception_type ,
5050 retry_unless_exception_type ,
51+ stop_after_delay ,
52+ wait_fixed ,
5153)
5254
5355pytest_simcore_core_services_selection = ["postgres" , "rabbit" , "redis" ]
@@ -151,8 +153,8 @@ async def slow_limited_gather(*args, **kwargs):
151153
152154@retry (
153155 retry = retry_if_exception_type (AssertionError ),
154- stop = retry . stop_after_attempt (3 ),
155- wait = retry . wait_fixed (0.5 ),
156+ stop = stop_after_delay (3 ),
157+ wait = wait_fixed (0.5 ),
156158 reraise = True ,
157159)
158160def _assert_scheduler_client_called_once_with (
@@ -167,8 +169,8 @@ def _assert_scheduler_client_not_called(
167169):
168170 @retry (
169171 retry = retry_unless_exception_type (AssertionError ),
170- stop = retry . stop_after_attempt ( 2 ),
171- wait = retry . wait_fixed (1 ),
172+ stop = stop_after_delay ( 3 ),
173+ wait = wait_fixed (1 ),
172174 reraise = True ,
173175 ) # pylint: disable=unused-variable
174176 def _ ():
You can’t perform that action at this time.
0 commit comments