Skip to content

Commit e92d202

Browse files
committed
fix: tests
1 parent c98bf7a commit e92d202

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_async_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,8 @@ async def test_reconnect_on_disconnect(self, mock_server: MockSSEServer):
471471
mock_server.disconnect()
472472
mock_server.send_init([create_config("feature", False)])
473473

474-
# Wait for reconnection
475-
await asyncio.sleep(0.5)
474+
# Wait for reconnection (need > 1s for the check timeout + buffer for retry)
475+
await asyncio.sleep(1.5)
476476

477477
# Should have the new value after reconnect
478478
assert client.get("feature") is False

0 commit comments

Comments
 (0)