57 references to WaitForExit
Aspire.EndToEnd.Tests (1)
tests\Shared\WorkloadTesting\AspireProject.cs (1)
380AppHostProcess.WaitForExit(500);
Aspire.Hosting.Tests (1)
MSBuildTests.cs (1)
119Assert.True(process.WaitForExit(milliseconds: 180_000), "dotnet build command timed out after 3 minutes.");
Aspire.Workload.Tests (1)
tests\Shared\WorkloadTesting\AspireProject.cs (1)
380AppHostProcess.WaitForExit(500);
dotnet-getdocument (1)
Exe.cs (1)
52if (!process.WaitForExit((int)(TimeSpan.FromMinutes(2).TotalMilliseconds)))
dotnet-openapi (1)
Commands\BaseCommand.cs (1)
233if (!process.WaitForExit(timeout * 1000))
IIS.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
54if (!process.WaitForExit((int)timeout.TotalMilliseconds))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
160Assert.True(hostProcess.WaitForExit(timeout ?? (int)TimeoutExtensions.DefaultTimeoutValue.TotalMilliseconds));
IIS.LongTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
54if (!process.WaitForExit((int)timeout.TotalMilliseconds))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
160Assert.True(hostProcess.WaitForExit(timeout ?? (int)TimeoutExtensions.DefaultTimeoutValue.TotalMilliseconds));
IIS.NewHandler.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
54if (!process.WaitForExit((int)timeout.TotalMilliseconds))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
160Assert.True(hostProcess.WaitForExit(timeout ?? (int)TimeoutExtensions.DefaultTimeoutValue.TotalMilliseconds));
IIS.NewShim.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
54if (!process.WaitForExit((int)timeout.TotalMilliseconds))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
160Assert.True(hostProcess.WaitForExit(timeout ?? (int)TimeoutExtensions.DefaultTimeoutValue.TotalMilliseconds));
IIS.ShadowCopy.Tests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
54if (!process.WaitForExit((int)timeout.TotalMilliseconds))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
160Assert.True(hostProcess.WaitForExit(timeout ?? (int)TimeoutExtensions.DefaultTimeoutValue.TotalMilliseconds));
IISExpress.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
54if (!process.WaitForExit((int)timeout.TotalMilliseconds))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
160Assert.True(hostProcess.WaitForExit(timeout ?? (int)TimeoutExtensions.DefaultTimeoutValue.TotalMilliseconds));
InteropTests (1)
src\Shared\Process\ProcessExtensions.cs (1)
109if (process.WaitForExit((int)timeout.TotalMilliseconds))
Microsoft.AspNetCore.Hosting.FunctionalTests (1)
ShutdownTests.cs (1)
136process.WaitForExit(5 * 1000);
Microsoft.AspNetCore.Server.IntegrationTesting (5)
ApplicationPublisher.cs (1)
80if (hostProcess.WaitForExit(milliseconds: (int)timeout.TotalMilliseconds))
Deployers\NginxDeployer.cs (3)
124process.WaitForExit(10_000); 172runNginx.WaitForExit(_waitTime); 214runNginx.WaitForExit(_waitTime);
src\Shared\Process\ProcessExtensions.cs (1)
109if (process.WaitForExit((int)timeout.TotalMilliseconds))
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (2)
IISExpressDeployer.cs (2)
248process.WaitForExit(30 * 1000); 559if (!hostProcess.WaitForExit((int)ShutdownTimeSpan.TotalMilliseconds))
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Docker.cs (1)
176if (!process.WaitForExit((int)timeout.TotalMilliseconds))
Microsoft.Build (2)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
847bool exited = _process.WaitForExit(milliseconds: 0);
ProcessExtensions.cs (1)
38process.WaitForExit(timeoutMilliseconds);
Microsoft.Build.CommandLine.UnitTests (2)
MSBuildServer_Tests.cs (1)
263serverProcess.WaitForExit(10_000);
ProcessExtensions.cs (1)
38process.WaitForExit(timeoutMilliseconds);
Microsoft.Build.Engine.OM.UnitTests (1)
ProcessExtensions.cs (1)
38process.WaitForExit(timeoutMilliseconds);
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskHostFactory_Tests.cs (1)
54taskHostNode.WaitForExit(2000).ShouldBeTrue();
Microsoft.Build.Framework.UnitTests (1)
ProcessExtensions.cs (1)
38process.WaitForExit(timeoutMilliseconds);
Microsoft.Build.Tasks.UnitTests (2)
ProcessExtensions.cs (1)
38process.WaitForExit(timeoutMilliseconds);
Unzip_Tests.cs (1)
172process.WaitForExit((int)TimeSpan.FromSeconds(2).TotalMilliseconds).ShouldBeTrue();
Microsoft.Build.UnitTests.Shared (1)
RunnerUtilities.cs (1)
148else if (!p.WaitForExit(timeoutMilliseconds))
Microsoft.Build.Utilities.Core (1)
ProcessExtensions.cs (1)
38process.WaitForExit(timeoutMilliseconds);
Microsoft.DotNet.Arcade.Sdk.Tests (1)
Utilities\TestApp.cs (1)
99process.WaitForExit(1000 * 60 * 3);
Microsoft.DotNet.MacOsPkg (1)
ExecuteHelper.cs (1)
27process.WaitForExit(60000); // 60 seconds
Microsoft.DotNet.MacOsPkg.Tests (1)
UnpackPackTests.cs (1)
213process!.WaitForExit(60000); // 60 seconds
Microsoft.DotNet.Open.Api.Tools.Tests (1)
src\Shared\Process\ProcessExtensions.cs (1)
109if (process.WaitForExit((int)timeout.TotalMilliseconds))
Microsoft.DotNet.RemoteExecutor (2)
RemoteInvokeHandle.cs (2)
110if (!Process.WaitForExit(halfTimeOut)) 145if (!Process.WaitForExit(halfTimeOut))
Microsoft.DotNet.SignTool (1)
src\VerifySignatures.cs (1)
208process.WaitForExit(10000); // 10 seconds
Microsoft.Extensions.ApiDescription.Client.Tests (1)
src\Shared\Process\ProcessExtensions.cs (1)
109if (process.WaitForExit((int)timeout.TotalMilliseconds))
System.CodeDom (1)
System\CodeDom\Compiler\Executor.cs (1)
87if (!p.WaitForExit(ProcessTimeOut))
System.Diagnostics.Process (2)
System\Diagnostics\Process.cs (2)
1424WaitForExit(Timeout.Infinite); 1445public bool WaitForExit(TimeSpan timeout) => WaitForExit(ToTimeoutMilliseconds(timeout));
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.PingUtility.cs (1)
56if (!p.WaitForExit(timeout))
System.Windows.Forms.IntegrationTests.Common (2)
TestHelpers.cs (2)
120process.WaitForExit(500); 138process.WaitForExit(timeout);
Templates.Blazor.Tests (1)
src\Shared\Process\ProcessExtensions.cs (1)
109if (process.WaitForExit((int)timeout.TotalMilliseconds))
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\Process\ProcessExtensions.cs (1)
109if (process.WaitForExit((int)timeout.TotalMilliseconds))
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\Process\ProcessExtensions.cs (1)
109if (process.WaitForExit((int)timeout.TotalMilliseconds))
Templates.Mvc.Tests (1)
src\Shared\Process\ProcessExtensions.cs (1)
109if (process.WaitForExit((int)timeout.TotalMilliseconds))
Templates.Tests (1)
src\Shared\Process\ProcessExtensions.cs (1)
109if (process.WaitForExit((int)timeout.TotalMilliseconds))