tests/multi_net: Increase asyncio tests timeouts.
Increase asyncio tests timeouts to account for different WiFi modules and CPU clocks on different boards. Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
parent
0bafdaf5f0
commit
3637252b7b
@ -33,7 +33,7 @@ async def tcp_server():
|
||||
print("server running")
|
||||
multitest.next()
|
||||
async with server:
|
||||
await asyncio.wait_for(ev.wait(), 5)
|
||||
await asyncio.wait_for(ev.wait(), 10)
|
||||
|
||||
|
||||
async def tcp_client():
|
||||
|
@ -14,7 +14,7 @@ async def handle_connection(reader, writer):
|
||||
await writer.drain()
|
||||
|
||||
# Split the first 2 bytes up so the client must wait for the second one
|
||||
await asyncio.sleep(0.1)
|
||||
await asyncio.sleep(1)
|
||||
|
||||
writer.write(b"b")
|
||||
await writer.drain()
|
||||
@ -37,7 +37,7 @@ async def tcp_server():
|
||||
print("server running")
|
||||
multitest.next()
|
||||
async with server:
|
||||
await asyncio.wait_for(ev.wait(), 2)
|
||||
await asyncio.wait_for(ev.wait(), 10)
|
||||
|
||||
|
||||
async def tcp_client():
|
||||
|
@ -14,7 +14,7 @@ async def handle_connection(reader, writer):
|
||||
await writer.drain()
|
||||
|
||||
# Split the first 2 bytes up so the client must wait for the second one
|
||||
await asyncio.sleep(0.1)
|
||||
await asyncio.sleep(1)
|
||||
|
||||
writer.write(b"b")
|
||||
await writer.drain()
|
||||
|
Loading…
Reference in New Issue
Block a user