Skip to content

Commit f84d3f1

Browse files
committed
Give process invocations a little longer to complete on slow CI runners
1 parent 98f7255 commit f84d3f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/SeqCli.EndToEnd/Support/CaptiveProcess.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,11 @@ public int WaitForExit(TimeSpan? timeout = null)
111111

112112
if (_captureOutput)
113113
{
114-
if (!_outputComplete.WaitOne(TimeSpan.FromSeconds(1)))
115-
throw new IOException("STDOUT did not complete in the fixed 1 second window.");
114+
if (!_outputComplete.WaitOne(TimeSpan.FromSeconds(5)))
115+
throw new IOException("STDOUT did not complete in the fixed 5-second window.");
116116

117-
if (!_errorComplete.WaitOne(TimeSpan.FromSeconds(1)))
118-
throw new IOException("STDERR did not complete in the fixed 1 second window.");
117+
if (!_errorComplete.WaitOne(TimeSpan.FromSeconds(5)))
118+
throw new IOException("STDERR did not complete in the fixed 5-second window.");
119119
}
120120

121121
return _process.ExitCode;

0 commit comments

Comments
 (0)