Skip to content

Commit

Permalink
Fixed buffer size for test_send_large_buffer()
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Feb 2, 2019
1 parent c772edb commit f10e8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_networking.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async def server():
async with await stream_server.accept() as stream:
await stream.send_all(buffer)

buffer = b'\xff' * 1024 # should exceed the maximum kernel send buffer size
buffer = b'\xff' * 1024 * 1024 # should exceed the maximum kernel send buffer size
async with create_task_group() as tg:
async with await create_tcp_server(interface='localhost') as stream_server:
await tg.spawn(server)
Expand Down

0 comments on commit f10e8ac

Please sign in to comment.