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>
pull/12370/head
iabdalkader 2023-09-05 10:53:30 +02:00 zatwierdzone przez Damien George
rodzic 0bafdaf5f0
commit 3637252b7b
3 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -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():

Wyświetl plik

@ -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():

Wyświetl plik

@ -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()