Skip to content

Commit

Permalink
Merge pull request #1715 from njsmith/deflake-test_pipes
Browse files Browse the repository at this point in the history
Bump up the timeout in test_pipes to hopefully reduce spurious CI failures
  • Loading branch information
altendky authored Sep 5, 2020
2 parents df817da + 634e2a5 commit 301a1df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trio/tests/test_subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ async def check_output(stream, expected):
assert seen == expected

async with _core.open_nursery() as nursery:
# fail quickly if something is broken
nursery.cancel_scope.deadline = _core.current_time() + 3.0
# fail eventually if something is broken
nursery.cancel_scope.deadline = _core.current_time() + 30.0
nursery.start_soon(feed_input)
nursery.start_soon(check_output, proc.stdout, msg)
nursery.start_soon(check_output, proc.stderr, msg[::-1])
Expand Down

0 comments on commit 301a1df

Please sign in to comment.