summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/multi_net/asyncio_tcp_close_write.py2
-rw-r--r--tests/multi_net/asyncio_tcp_readall.py4
-rw-r--r--tests/multi_net/asyncio_tcp_readexactly.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/multi_net/asyncio_tcp_close_write.py b/tests/multi_net/asyncio_tcp_close_write.py
index d1892fe89..ea206c921 100644
--- a/tests/multi_net/asyncio_tcp_close_write.py
+++ b/tests/multi_net/asyncio_tcp_close_write.py
@@ -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():
diff --git a/tests/multi_net/asyncio_tcp_readall.py b/tests/multi_net/asyncio_tcp_readall.py
index 66ad97549..45eac229d 100644
--- a/tests/multi_net/asyncio_tcp_readall.py
+++ b/tests/multi_net/asyncio_tcp_readall.py
@@ -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():
diff --git a/tests/multi_net/asyncio_tcp_readexactly.py b/tests/multi_net/asyncio_tcp_readexactly.py
index 2c8df1f30..4024e23fe 100644
--- a/tests/multi_net/asyncio_tcp_readexactly.py
+++ b/tests/multi_net/asyncio_tcp_readexactly.py
@@ -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()