There was an error while loading. Please reload this page.
1 parent c180fac commit 047afc9Copy full SHA for 047afc9
1 file changed
tests/client/test_auth.py
@@ -2179,6 +2179,9 @@ async def drive_flow_b() -> None:
2179
2180
async with anyio.create_task_group() as task_group:
2181
task_group.start_soon(drive_flow_b)
2182
+ with anyio.fail_after(5):
2183
+ while oauth_provider.context.flow_lock.statistics().tasks_waiting == 0:
2184
+ await anyio.sleep(0)
2185
2186
refresh_response = httpx.Response(
2187
200,
0 commit comments