Fixups
This commit is contained in:
parent
d0677559b7
commit
cacabfdaba
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Internal;
|
||||
using Xunit.Abstractions;
|
||||
|
|
@ -29,7 +30,7 @@ namespace InteropTests.Helpers
|
|||
_process.OutputDataReceived += Process_OutputDataReceived;
|
||||
_process.Start();
|
||||
|
||||
_processEx = new ProcessEx(output, _process);
|
||||
_processEx = new ProcessEx(output, _process, timeout: Timeout.InfiniteTimeSpan);
|
||||
|
||||
_startTcs = new TaskCompletionSource<object>(TaskCreationOptions.RunContinuationsAsynchronously);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Internal;
|
||||
using Xunit.Abstractions;
|
||||
|
|
@ -33,7 +34,7 @@ namespace InteropTests.Helpers
|
|||
_process.OutputDataReceived += Process_OutputDataReceived;
|
||||
_process.Start();
|
||||
|
||||
_processEx = new ProcessEx(output, _process);
|
||||
_processEx = new ProcessEx(output, _process, Timeout.InfiniteTimeSpan);
|
||||
|
||||
_startTcs = new TaskCompletionSource<object>(TaskCreationOptions.RunContinuationsAsynchronously);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ namespace Microsoft.AspNetCore.Internal
|
|||
private readonly CancellationTokenSource _processTimeoutCts;
|
||||
private bool _disposed = false;
|
||||
|
||||
private ProcessEx(ITestOutputHelper output, Process proc, TimeSpan timeout)
|
||||
public ProcessEx(ITestOutputHelper output, Process proc, TimeSpan timeout)
|
||||
{
|
||||
_output = output;
|
||||
_stdoutCapture = new StringBuilder();
|
||||
|
|
|
|||
Loading…
Reference in New Issue