Skip to content

Commit

Permalink
Add some small sleep to give login a chance to suceed
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnoe authored and chaen committed Jan 17, 2025
1 parent 4a797d1 commit fe22de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diracx-testing/src/diracx/testing/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,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.1)

# 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
Expand Down

0 comments on commit fe22de0

Please sign in to comment.