Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
taras committed Oct 15, 2024
1 parent 9066bdd commit 56833c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_autoping.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ async def test_no_ping_when_data_is_present():

async with ServerAsyncContext(server) as server_ctx:
async with ClientAsyncContext(AccumulatingListener, server_ctx.plain_url, enable_auto_pong=False) as (transport, listener):
for i in range(10):
for i in range(20):
await asyncio.sleep(0.05)
transport.send(picows.WSMsgType.TEXT, b"hi")

Expand Down Expand Up @@ -202,7 +202,7 @@ def on_ws_frame(self, transport: picows.WSTransport, frame: picows.WSFrame):

async with ServerAsyncContext(server) as server_ctx:
async with ClientAsyncContext(ClientListener, server_ctx.plain_url, enable_auto_pong=False) as (transport, listener):
for i in range(10):
for i in range(20):
await asyncio.sleep(0.05)
transport.send(picows.WSMsgType.TEXT, b"hi")

Expand Down

0 comments on commit 56833c2

Please sign in to comment.