Attempt to fix test_stdin_broken_pipe on Travis (#7210)
This commit is contained in:
parent
c4653c9bf1
commit
4fadf0c639
|
@ -228,6 +228,7 @@ class SubprocessMixin:
|
|||
proc, large_data = self.prepare_broken_pipe_test()
|
||||
|
||||
async def write_stdin(proc, data):
|
||||
await asyncio.sleep(0.5, loop=self.loop)
|
||||
proc.stdin.write(data)
|
||||
await proc.stdin.drain()
|
||||
|
||||
|
|
Loading…
Reference in New Issue