14 references to ProcessTestHelpers
Aspire.Cli.Tests (14)
Certificates\UnixCertificateManagerTests.cs (6)
49
parentPid = await
ProcessTestHelpers
.WaitForProcessIdAsync(parentPidFile, TestContext.Current.CancellationToken)
51
childPid = await
ProcessTestHelpers
.WaitForProcessIdAsync(childPidFile, TestContext.Current.CancellationToken)
57
Assert.True(
ProcessTestHelpers
.WaitForProcessExit(parentPid, TimeSpan.FromSeconds(10)), $"Expected certutil process {parentPid} to exit.");
58
Assert.True(
ProcessTestHelpers
.WaitForProcessExit(childPid, TimeSpan.FromSeconds(10)), $"Expected child process {childPid} to exit.");
63
ProcessTestHelpers
.TryKillProcess(parentPid);
64
ProcessTestHelpers
.TryKillProcess(childPid);
DotNet\ProcessExecutionTests.cs (1)
14
using static Aspire.Cli.Tests.TestServices.
ProcessTestHelpers
;
DotNetSdkInstallerTests.cs (6)
67
parentPid = await
ProcessTestHelpers
.WaitForProcessIdAsync(parentPidFile, TestContext.Current.CancellationToken)
69
childPid = await
ProcessTestHelpers
.WaitForProcessIdAsync(childPidFile, TestContext.Current.CancellationToken)
75
Assert.True(
ProcessTestHelpers
.WaitForProcessExit(parentPid, TimeSpan.FromSeconds(10)), $"Expected dotnet process {parentPid} to exit.");
76
Assert.True(
ProcessTestHelpers
.WaitForProcessExit(childPid, TimeSpan.FromSeconds(10)), $"Expected child process {childPid} to exit.");
81
ProcessTestHelpers
.TryKillProcess(parentPid);
82
ProcessTestHelpers
.TryKillProcess(childPid);
Projects\ProcessGuestLauncherTests.cs (1)
11
using static Aspire.Cli.Tests.TestServices.
ProcessTestHelpers
;