diff --git a/diracx-testing/src/diracx/testing/utils.py b/diracx-testing/src/diracx/testing/utils.py index bbd51413..ce49d1a9 100644 --- a/diracx-testing/src/diracx/testing/utils.py +++ b/diracx-testing/src/diracx/testing/utils.py @@ -625,7 +625,7 @@ async def fake_sleep(*args, **kwargs): assert poll_attempts <= 100 # Reduce the sleep duration to zero to speed up the test - await unpatched_sleep(0) + await unpatched_sleep(0.01) # We monkeypatch asyncio.sleep to provide a hook to run the actions that # would normally be done by a user. This includes capturing the login URL