Skip to content

Commit 2ce360e

Browse files
committed
test(realtime): await scheduled auth cleanup
1 parent 8cbe66f commit 2ce360e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tests/unit/test_realtime.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ async def scenario() -> None:
357357
)
358358
await asyncio.sleep(0)
359359
assert channel._subscription is None
360+
await asyncio.gather(*tuple(client.realtime._auth_cleanup_tasks))
360361
assert first.calls[-1] == "disconnect"
361362
await channel.subscribe()
362363
await client.realtime.disconnect()

0 commit comments

Comments
 (0)