Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions test/SeqCli.EndToEnd/Support/CaptiveProcess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,12 @@ public int WaitForExit(TimeSpan? timeout = null)

if (_captureOutput)
{
if (!_outputComplete.WaitOne(TimeSpan.FromSeconds(5)))
throw new IOException("STDOUT did not complete in the fixed 5-second window.");
const int secondsWait = 15;
if (!_outputComplete.WaitOne(TimeSpan.FromSeconds(secondsWait)))
throw new IOException($"STDOUT did not complete in the fixed {secondsWait}-second window.");

if (!_errorComplete.WaitOne(TimeSpan.FromSeconds(5)))
throw new IOException("STDERR did not complete in the fixed 5-second window.");
if (!_errorComplete.WaitOne(TimeSpan.FromSeconds(secondsWait)))
throw new IOException($"STDERR did not complete in the fixed {secondsWait}-second window.");
}

return _process.ExitCode;
Expand Down
Loading