File tree Expand file tree Collapse file tree
test/SeqCli.EndToEnd/Support Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,11 +111,12 @@ public int WaitForExit(TimeSpan? timeout = null)
111111
112112 if ( _captureOutput )
113113 {
114- if ( ! _outputComplete . WaitOne ( TimeSpan . FromSeconds ( 5 ) ) )
115- throw new IOException ( "STDOUT did not complete in the fixed 5-second window." ) ;
114+ const int secondsWait = 15 ;
115+ if ( ! _outputComplete . WaitOne ( TimeSpan . FromSeconds ( secondsWait ) ) )
116+ throw new IOException ( $ "STDOUT did not complete in the fixed { secondsWait } -second window.") ;
116117
117- if ( ! _errorComplete . WaitOne ( TimeSpan . FromSeconds ( 5 ) ) )
118- throw new IOException ( "STDERR did not complete in the fixed 5 -second window." ) ;
118+ if ( ! _errorComplete . WaitOne ( TimeSpan . FromSeconds ( secondsWait ) ) )
119+ throw new IOException ( $ "STDERR did not complete in the fixed { secondsWait } -second window.") ;
119120 }
120121
121122 return _process . ExitCode ;
You can’t perform that action at this time.
0 commit comments