Skip to content

Commit 301a1df

Browse files
authored
Merge pull request #1715 from njsmith/deflake-test_pipes
Bump up the timeout in test_pipes to hopefully reduce spurious CI failures
2 parents df817da + 634e2a5 commit 301a1df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

trio/tests/test_subprocess.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ async def check_output(stream, expected):
134134
assert seen == expected
135135

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

0 commit comments

Comments
 (0)