6 references to DefaultTimeoutTimeSpan
Aspire.Cli.Tests (6)
Agents\TelemetryHookScriptTests.cs (2)
668timeout.CancelAfter(TestConstants.DefaultTimeoutTimeSpan); 693throw new TimeoutException($"Hook process '{fileName}' did not complete input, output, and exit within {TestConstants.DefaultTimeoutTimeSpan}.", ex);
DotNet\ProcessExecutionTests.cs (3)
85Assert.True(WaitForProcessExit(execution.ProcessId, TestConstants.DefaultTimeoutTimeSpan), $"Expected process {execution.ProcessId} to exit after graceful signal."); 132Assert.True(WaitForProcessExit(execution.ProcessId, TestConstants.DefaultTimeoutTimeSpan), $"Expected process {execution.ProcessId} to be killed after graceful expiration."); 160Assert.True(WaitForProcessExit(execution.ProcessId, TestConstants.DefaultTimeoutTimeSpan), $"Expected process {execution.ProcessId} to be killed after signaler failure.");
tests\Shared\AsyncTestHelpers.cs (1)
50var effectiveTimeout = timeout ?? TestConstants.DefaultTimeoutTimeSpan;