Skip to content

Commit

Permalink
🎨 sleep to allow record to update
Browse files Browse the repository at this point in the history
  • Loading branch information
ff137 committed Oct 31, 2024
1 parent 8bf04d6 commit 470d81e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/tests/e2e/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ async def test_invalid_token_error_after_rotation(tenant_admin_client: RichAsync
)
assert rotate_response.status_code == 200

await asyncio.sleep(0.5) # short sleep
await asyncio.sleep(3) # sleep, wait for storage record to update

# Step 3: Attempt to use the old token after token rotated
response = await tenant_client.get(CONNECTIONS_BASE_PATH)
Expand Down

0 comments on commit 470d81e

Please sign in to comment.