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