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 committed Jan 15, 2025
1 parent bc3d1c4 commit 2f3ac00
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 @@ -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
Expand Down

0 comments on commit 2f3ac00

Please sign in to comment.