594 references to FromMinutes
aspire (2)
Certificates\CertificateGeneration\MacOSCertificateManager.cs (1)
276var maxRegexTimeout = TimeSpan.FromMinutes(1);
Utils\FileLock.cs (1)
44private static readonly TimeSpan s_defaultTimeout = TimeSpan.FromMinutes(5);
Aspire.Cli.EndToEnd.Tests (54)
BundleSmokeTests.cs (1)
88.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(3))
DescribeCommandTests.cs (4)
108.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 138.WaitUntil(s => waitForAppHostStoppedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(1)) 263.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 314.WaitUntil(s => waitForAppHostStoppedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(1))
DockerDeploymentTests.cs (2)
155.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 325.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
JsReactTemplateTests.cs (1)
107}, TimeSpan.FromMinutes(2))
KubernetesPublishTests.cs (7)
128.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(3)); 225.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 256.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 268.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 272.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 305.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(4)); 320.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(3));
LogsCommandTests.cs (2)
105.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 143.WaitUntil(s => waitForAppHostStoppedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(1))
PlaywrightCliInstallTests.cs (1)
134.WaitUntil(s => configComplete.Search(s).Count > 0, TimeSpan.FromMinutes(3))
ProjectReferenceTests.cs (2)
61.WaitUntil(s => waitingForAppHostCreated.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 186}, TimeSpan.FromMinutes(2))
PsCommandTests.cs (2)
114.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 132.WaitUntil(s => waitForAppHostStoppedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(1))
PythonReactTemplateTests.cs (1)
92.WaitUntil(s => waitForCtrlCMessage.Search(s).Count > 0, TimeSpan.FromMinutes(2))
SecretTypeScriptAppHostTests.cs (1)
60.WaitUntil(s => waitingForAppHostCreated.Search(s).Count > 0, TimeSpan.FromMinutes(2))
SmokeTests.cs (1)
110}, TimeSpan.FromMinutes(2))
StartStopTests.cs (9)
96.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 102.WaitUntil(s => waitForAppHostStoppedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(1)) 237.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 245.WaitUntil(s => waitForPackageAddedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 258.WaitUntil(s => waitForStopResult.Search(s).Count > 0 || waitForStoppedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(1)) 354.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 362.WaitUntil(s => waitForIntegrationSelectionPrompt.Search(s).Count > 0, TimeSpan.FromMinutes(1)) 367.WaitUntil(s => waitForPackageAddedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 380.WaitUntil(s => waitForStopResult2.Search(s).Count > 0 || waitForStoppedSuccessfully2.Search(s).Count > 0, TimeSpan.FromMinutes(1))
StopNonInteractiveTests.cs (11)
99.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 108.WaitUntil(s => waitForAppHostStoppedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(1)) 229.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 238.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 247.WaitUntil(s => waitForAppHostStoppedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(1)) 368.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 377.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 391.WaitUntil(s => waitForAppHostStoppedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(1)) 517.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 526.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 549.WaitUntil(s => waitForAppHostStoppedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(1))
TypeScriptPolyglotTests.cs (5)
75.WaitUntil(s => waitingForAppHostCreated.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 85.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 91.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 99.WaitUntil(s => waitingForPackageAdded.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 127.WaitUntil(s => waitForCtrlCMessage.Search(s).Count > 0, TimeSpan.FromMinutes(3));
TypeScriptStarterTemplateTests.cs (1)
90.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(3))
WaitCommandTests.cs (3)
99.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 105.WaitUntil(s => waitForResourceUp.Search(s).Count > 0, TimeSpan.FromMinutes(3)) 111.WaitUntil(s => waitForAppHostStoppedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(1))
Aspire.Deployment.EndToEnd.Tests (163)
AcaCompactNamingDeploymentTests.cs (5)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 98.WaitUntil(s => waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 99.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 155.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(30)) 156.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2));
AcaCompactNamingUpgradeDeploymentTests.cs (19)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(60); 123.WaitUntil(s => waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 124.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 168.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(30)) 169.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 209.WaitUntil(s => waitingForPerformUpdates.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 211.WaitUntil(s => waitingForNugetConfigDir.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 213.WaitUntil(s => waitingForApplyNugetConfig.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 215.WaitUntil(s => waitingForUpdateSuccessful.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 232.WaitUntil(s => waitingForPerformUpdates.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 234.WaitUntil(s => waitingForNugetConfigDir.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 236.WaitUntil(s => waitingForApplyNugetConfig.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 238.WaitUntil(s => waitingForUpdateSuccessful.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 247.WaitUntil(s => waitingForPerformUpdates.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 249.WaitUntil(s => waitingForNugetConfigDir.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 251.WaitUntil(s => waitingForApplyNugetConfig.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 253.WaitUntil(s => waitingForUpdateSuccessful.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 276.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(30)) 277.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
AcaCustomRegistryDeploymentTests.cs (5)
19private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45); 133.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 222}, TimeSpan.FromMinutes(35)) 230.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 254.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
AcaDeploymentErrorOutputTests.cs (5)
21private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 101.WaitUntil(s => waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 102.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 153.WaitUntil(s => waitingForPipelineFailed.Search(s).Count > 0, TimeSpan.FromMinutes(30)) 154.WaitForAnyPrompt(counter, TimeSpan.FromMinutes(2));
AcaExistingRegistryDeploymentTests.cs (6)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45); 134.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(3)); 157.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 251}, TimeSpan.FromMinutes(35)) 259.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 282.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
AcaManagedRedisDeploymentTests.cs (7)
19private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 112.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 137.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 263TimeSpan.FromMinutes(30)) 269.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 293.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 313.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
AcaStarterDeploymentTests.cs (5)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 134.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 206.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(30)) 207.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 232.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
AcrPurgeTaskDeploymentTests.cs (7)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 134.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 204}, TimeSpan.FromMinutes(30)) 212.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 268}, TimeSpan.FromMinutes(30)) 276.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 301.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
AksStarterDeploymentTests.cs (12)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45); 118.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 132.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(3)); 157.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(20)); 165.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 215.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 299.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 308.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 321.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(10)); 337.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(3)); 347.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(12)); 355.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(6));
AksStarterWithRedisDeploymentTests.cs (12)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45); 119.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 133.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(3)); 157.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(20)); 165.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 214.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 297.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 306.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 319.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(10)); 335.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(3)); 353.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(12)); 363.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(16));
AppServicePythonDeploymentTests.cs (5)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 136.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 201.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(30)) 202.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 228.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
AppServiceReactDeploymentTests.cs (5)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 142.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 214.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(30)) 215.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 241.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
AzureAppConfigDeploymentTests.cs (5)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 105.WaitUntil(s => waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 106.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 181.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(20)) 182.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2));
AzureContainerRegistryDeploymentTests.cs (5)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 100.WaitUntil(s => waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 101.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 150.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(20)) 151.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2));
AzureEventHubsDeploymentTests.cs (5)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 105.WaitUntil(s => waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 106.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 181.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(20)) 182.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2));
AzureKeyVaultDeploymentTests.cs (5)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 105.WaitUntil(s => waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 106.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 181.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(20)) 182.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2));
AzureLogAnalyticsDeploymentTests.cs (5)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 100.WaitUntil(s => waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 101.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 150.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(20)) 151.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2));
AzureServiceBusDeploymentTests.cs (5)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 105.WaitUntil(s => waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 106.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 181.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(20)) 182.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2));
AzureStorageDeploymentTests.cs (5)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 105.WaitUntil(s => waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 106.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 184.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(20)) 185.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2));
PythonFastApiDeploymentTests.cs (5)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 136.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 201.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(30)) 202.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 227.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
VnetKeyVaultConnectivityDeploymentTests.cs (5)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 122.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 260.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(30)) 261.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 290.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
VnetKeyVaultInfraDeploymentTests.cs (5)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 92.WaitUntil(s => waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 93.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 183.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(25)) 184.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2));
VnetSqlServerConnectivityDeploymentTests.cs (5)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 123.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 262.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(30)) 263.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 292.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
VnetSqlServerInfraDeploymentTests.cs (5)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 92.WaitUntil(s => waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 93.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 184.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(25)) 185.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2));
VnetStorageBlobConnectivityDeploymentTests.cs (5)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 124.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5)); 268.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(30)) 269.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 298.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
VnetStorageBlobInfraDeploymentTests.cs (5)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 93.WaitUntil(s => waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 94.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2)); 185.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(25)) 186.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2));
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
451return TimeSpan.FromMinutes(5);
Aspire.RabbitMQ.Client.Tests (1)
AspireRabbitMQLoggingTests.cs (1)
69await tsc.Task.WaitAsync(TimeSpan.FromMinutes(1));
Aspire.RabbitMQ.Client.v6.Tests (1)
tests\Aspire.RabbitMQ.Client.Tests\AspireRabbitMQLoggingTests.cs (1)
69await tsc.Task.WaitAsync(TimeSpan.FromMinutes(1));
Binding.Http.IntegrationTests (2)
MtomBindingTestHelper.cs (2)
78binding.SendTimeout = TimeSpan.FromMinutes(5); 79binding.ReceiveTimeout = TimeSpan.FromMinutes(5);
Binding.Tcp.IntegrationTests (1)
NetTcpBindingTests.4.0.0.cs (1)
138binding.SendTimeout = binding.ReceiveTimeout = TimeSpan.FromMinutes(10);
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
276TimeSpan MaxRegexTimeout = TimeSpan.FromMinutes(1);
dotnet-getdocument (1)
Exe.cs (1)
52if (!process.WaitForExit((int)(TimeSpan.FromMinutes(2).TotalMilliseconds)))
GetDocument.Insider (2)
.packages\microsoft.extensions.hostfactoryresolver.sources\11.0.0-preview.3.26153.117\contentFiles\cs\netstandard2.0\HostFactoryResolver.cs (1)
38return TimeSpan.FromMinutes(5);
Commands\GetDocumentCommandWorker.cs (1)
359var finished = resultTask.Wait(TimeSpan.FromMinutes(1));
HelixTestRunner (7)
TestRunner.cs (7)
140cancellationToken: new CancellationTokenSource(TimeSpan.FromMinutes(2)).Token); 165cancellationToken: new CancellationTokenSource(TimeSpan.FromMinutes(2)).Token); 173cancellationToken: new CancellationTokenSource(TimeSpan.FromMinutes(2)).Token); 195cancellationToken: new CancellationTokenSource(TimeSpan.FromMinutes(2)).Token); 204cancellationToken: new CancellationTokenSource(TimeSpan.FromMinutes(2)).Token); 223cancellationToken: new CancellationTokenSource(TimeSpan.FromMinutes(2)).Token); 246var testProcessTimeout = Options.Timeout.Subtract(TimeSpan.FromMinutes(5));
IIS.Common.TestLib (2)
TestConnections.cs (1)
23private static readonly TimeSpan Timeout = TimeSpan.FromMinutes(2);
TimeoutExtensions.cs (1)
13public static TimeSpan DefaultTimeoutValue = TimeSpan.FromMinutes(10);
IIS.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Latin1Tests.cs (2)
46var client = new HttpClient(new LoggingHandler(new WinHttpHandler() { SendTimeout = TimeSpan.FromMinutes(3) }, deploymentResult.Logger)); 64var client = new HttpClient(new LoggingHandler(new WinHttpHandler() { SendTimeout = TimeSpan.FromMinutes(3) }, deploymentResult.Logger));
IISExpress.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Latin1Tests.cs (2)
46var client = new HttpClient(new LoggingHandler(new WinHttpHandler() { SendTimeout = TimeSpan.FromMinutes(3) }, deploymentResult.Logger)); 64var client = new HttpClient(new LoggingHandler(new WinHttpHandler() { SendTimeout = TimeSpan.FromMinutes(3) }, deploymentResult.Logger));
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (1)
157TimeSpan.FromMinutes(1),
src\Servers\Kestrel\shared\test\StreamBackedTestConnection.cs (1)
18private static readonly TimeSpan Timeout = TimeSpan.FromMinutes(1);
InProcessWebSite (1)
Startup.WebSockets.cs (1)
159var ws = WebSocket.CreateFromStream(opaqueTransport, isServer: true, subProtocol: null, keepAliveInterval: TimeSpan.FromMinutes(2));
Interop.FunctionalTests (1)
Http3\Http3RequestTests.cs (1)
719using (var client = HttpHelpers.CreateClient(expect100ContinueTimeout: TimeSpan.FromMinutes(20)))
InteropTests (2)
src\Shared\Process\ProcessEx.cs (2)
21private static readonly TimeSpan DefaultProcessTimeout = TimeSpan.FromMinutes(15); 32private readonly CancellationTokenSource _stdoutLinesCancellationSource = new CancellationTokenSource(TimeSpan.FromMinutes(5));
Microsoft.AspNetCore.Authentication (1)
RemoteAuthenticationOptions.cs (1)
117public TimeSpan RemoteAuthenticationTimeout { get; set; } = TimeSpan.FromMinutes(15);
Microsoft.AspNetCore.Authentication.Certificate (2)
CertificateValidationCache.cs (1)
53var absoluteExpiration = _timeProvider.GetUtcNow().Add(TimeSpan.FromMinutes(30));
CertificateValidationCacheOptions.cs (1)
16public TimeSpan CacheEntryExpiration { get; set; } = TimeSpan.FromMinutes(2);
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerOptions.cs (1)
94public TimeSpan BackchannelTimeout { get; set; } = TimeSpan.FromMinutes(1);
Microsoft.AspNetCore.Authentication.Negotiate (3)
LdapSettings.cs (2)
63public TimeSpan ClaimsCacheSlidingExpiration { get; set; } = TimeSpan.FromMinutes(10); 69public TimeSpan ClaimsCacheAbsoluteExpiration { get; set; } = TimeSpan.FromMinutes(60);
PostConfigureNegotiateOptions.cs (1)
87ldapSettings.LdapConnection.Timeout = TimeSpan.FromMinutes(1);
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectOptions.cs (1)
187NonceLifetime = TimeSpan.FromMinutes(15)
Microsoft.AspNetCore.Authentication.Test (55)
CertificateTests.cs (1)
769timeProvider.Advance(TimeSpan.FromMinutes(31));
CookieTests.cs (50)
499o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 508_timeProvider.Advance(TimeSpan.FromMinutes(7)); 512_timeProvider.Advance(TimeSpan.FromMinutes(7)); 529o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 535new AuthenticationProperties() { ExpiresUtc = _timeProvider.GetUtcNow().Add(TimeSpan.FromMinutes(5)) })); 542_timeProvider.Advance(TimeSpan.FromMinutes(3)); 546_timeProvider.Advance(TimeSpan.FromMinutes(3)); 563o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 580_timeProvider.Advance(TimeSpan.FromMinutes(11)); 592o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 621o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 658o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 680_timeProvider.Advance(TimeSpan.FromMinutes(5)); 686_timeProvider.Advance(TimeSpan.FromMinutes(6)); 692_timeProvider.Advance(TimeSpan.FromMinutes(5)); 732o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 780o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 801_timeProvider.Advance(TimeSpan.FromMinutes(5)); 807_timeProvider.Advance(TimeSpan.FromMinutes(6)); 813_timeProvider.Advance(TimeSpan.FromMinutes(11)); 825o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 857_timeProvider.Advance(TimeSpan.FromMinutes(5)); 863_timeProvider.Advance(TimeSpan.FromMinutes(6)); 869_timeProvider.Advance(TimeSpan.FromMinutes(11)); 881o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 916_timeProvider.Advance(TimeSpan.FromMinutes(1)); 922_timeProvider.Advance(TimeSpan.FromMinutes(1)); 928_timeProvider.Advance(TimeSpan.FromMinutes(9)); 940o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 962_timeProvider.Advance(TimeSpan.FromMinutes(5)); 968_timeProvider.Advance(TimeSpan.FromMinutes(6)); 974_timeProvider.Advance(TimeSpan.FromMinutes(5)); 990o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 1020_timeProvider.Advance(TimeSpan.FromMinutes(1)); 1026_timeProvider.Advance(TimeSpan.FromMinutes(2)); 1041o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 1047context.Properties.ExpiresUtc = _timeProvider.GetUtcNow().Add(TimeSpan.FromMinutes(5)); 1061_timeProvider.Advance(TimeSpan.FromMinutes(3)); 1067_timeProvider.Advance(TimeSpan.FromMinutes(3)); 1079o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 1091_timeProvider.Advance(TimeSpan.FromMinutes(4)); 1097_timeProvider.Advance(TimeSpan.FromMinutes(4)); 1104_timeProvider.Advance(TimeSpan.FromMinutes(4)); 1116o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 1137_timeProvider.Advance(TimeSpan.FromMinutes(4)); 1143_timeProvider.Advance(TimeSpan.FromMinutes(4)); 1150_timeProvider.Advance(TimeSpan.FromMinutes(4)); 1162o.ExpireTimeSpan = TimeSpan.FromMinutes(10); 1185_timeProvider.Advance(TimeSpan.FromMinutes(4)); 1191_timeProvider.Advance(TimeSpan.FromMinutes(4));
OpenIdConnect\OpenIdConnectChallengeTests.cs (1)
503opt.MaxAge = TimeSpan.FromMinutes(20);
OpenIdConnect\OpenIdConnectTests.cs (2)
452Assert.Equal(options.BackchannelTimeout, TimeSpan.FromMinutes(5)); 495Assert.Equal(TimeSpan.FromMinutes(1), options.BackchannelTimeout);
OpenIdConnect\TestSettings.cs (1)
277Assert.Equal(TimeSpan.FromMinutes(20), _options.MaxAge.Value);
Microsoft.AspNetCore.Components.Endpoints (2)
DependencyInjection\RazorComponentsServiceOptions.cs (1)
15private TimeSpan _temporaryRedirectionUrlValidityDuration = TimeSpan.FromMinutes(5);
src\Shared\Components\ServerComponentSerializationSettings.cs (1)
24public static readonly TimeSpan DataExpiration = TimeSpan.FromMinutes(5);
Microsoft.AspNetCore.Components.Server (3)
CircuitOptions.cs (2)
47public TimeSpan DisconnectedCircuitRetentionPeriod { get; set; } = TimeSpan.FromMinutes(3); 105public TimeSpan JSInteropDefaultCallTimeout { get; set; } = TimeSpan.FromMinutes(1);
src\Shared\Components\ServerComponentSerializationSettings.cs (1)
24public static readonly TimeSpan DataExpiration = TimeSpan.FromMinutes(5);
Microsoft.AspNetCore.Components.Server.Tests (11)
Circuits\RemoteJSDataStreamTest.cs (4)
24var remoteJSDataStream = await RemoteJSDataStream.CreateRemoteJSDataStreamAsync(_jsRuntime, jsStreamReference, totalLength: 100, signalRMaximumIncomingBytes: 10_000, jsInteropDefaultCallTimeout: TimeSpan.FromMinutes(1), cancellationToken: CancellationToken.None).DefaultTimeout(); 162var remoteJSDataStream = await RemoteJSDataStream.CreateRemoteJSDataStreamAsync(jsRuntime, jsStreamReference, totalLength: 100, signalRMaximumIncomingBytes: 10_000, jsInteropDefaultCallTimeout: TimeSpan.FromMinutes(1), cancellationToken: CancellationToken.None); 182var remoteJSDataStream = await RemoteJSDataStream.CreateRemoteJSDataStreamAsync(jsRuntime, jsStreamReference, totalLength: 100, signalRMaximumIncomingBytes: 10_000, jsInteropDefaultCallTimeout: TimeSpan.FromMinutes(1), cancellationToken: CancellationToken.None); 348var remoteJSDataStream = await RemoteJSDataStream.CreateRemoteJSDataStreamAsync(jsRuntime ?? _jsRuntime, jsStreamReference, totalLength: 100, signalRMaximumIncomingBytes: 10_000, jsInteropDefaultCallTimeout: TimeSpan.FromMinutes(1), cancellationToken: CancellationToken.None);
DependencyInjection\ComponentServiceCollectionExtensionsTest.cs (7)
38options.HandshakeTimeout = TimeSpan.FromMinutes(10); 47Assert.Equal(TimeSpan.FromMinutes(10), options.Value.HandshakeTimeout); 57Assert.Equal(TimeSpan.FromMinutes(10), options.HandshakeTimeout); 58options.HandshakeTimeout = TimeSpan.FromMinutes(5); 64options.HandshakeTimeout = TimeSpan.FromMinutes(10); 74Assert.Equal(TimeSpan.FromMinutes(5), options.Value.HandshakeTimeout); 77Assert.Equal(TimeSpan.FromMinutes(10), globalOptions.Value.HandshakeTimeout);
Microsoft.AspNetCore.CookiePolicy.Test (1)
CookieChunkingTests.cs (1)
36MaxAge = TimeSpan.FromMinutes(5)
Microsoft.AspNetCore.DataProtection (2)
KeyManagement\Internal\CacheableKeyRing.cs (1)
48var extension = TimeSpan.FromMinutes(2);
KeyManagement\KeyManagementOptions.cs (1)
20private static readonly TimeSpan _maxServerClockSkew = TimeSpan.FromMinutes(5);
Microsoft.AspNetCore.DataProtection.Tests (4)
KeyManagement\KeyRingProviderTests.cs (4)
613.Setup(o => o.GetCacheableKeyRing(now + TimeSpan.FromMinutes(1))) 619.Setup(o => o.GetCacheableKeyRing(now + TimeSpan.FromMinutes(2))) 629var retVal2 = keyRingProvider.GetCurrentKeyRingCore(now + TimeSpan.FromMinutes(1)); 630var retVal3 = keyRingProvider.GetCurrentKeyRingCore(now + TimeSpan.FromMinutes(2), forceRefresh: true);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
276TimeSpan MaxRegexTimeout = TimeSpan.FromMinutes(1);
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Logging\AcceptanceTests.cs (2)
866options.AutoFlushDuration = TimeSpan.FromMinutes(30); 872options.AutoFlushDuration = TimeSpan.FromMinutes(30);
Microsoft.AspNetCore.Hosting.FunctionalTests (4)
LinkedApplicationTests.cs (1)
35PublishTimeout = TimeSpan.FromMinutes(10), // Machines are slow (these tests restore)
ShutdownTests.cs (2)
93await startedTcs.Task.TimeoutAfter(TimeSpan.FromMinutes(1)); 106await completedTcs.Task.TimeoutAfter(TimeSpan.FromMinutes(1));
WebHostBuilderTests.cs (1)
55await tcs.Task.TimeoutAfter(TimeSpan.FromMinutes(1));
Microsoft.AspNetCore.Identity (6)
IdentityCookiesBuilderExtensions.cs (2)
70o.ExpireTimeSpan = TimeSpan.FromMinutes(5); 107o.ExpireTimeSpan = TimeSpan.FromMinutes(5);
IdentityPasskeyOptions.cs (1)
27public TimeSpan AuthenticatorTimeout { get; set; } = TimeSpan.FromMinutes(5);
IdentityServiceCollectionExtensions.cs (2)
70o.ExpireTimeSpan = TimeSpan.FromMinutes(5); 87o.ExpireTimeSpan = TimeSpan.FromMinutes(5);
SecurityStampValidatorOptions.cs (1)
17public TimeSpan ValidationInterval { get; set; } = TimeSpan.FromMinutes(30);
Microsoft.AspNetCore.Identity.FunctionalTests (1)
src\Identity\Extensions.Core\src\Rfc6238AuthenticationService.cs (1)
17private static readonly TimeSpan _timestep = TimeSpan.FromMinutes(3);
Microsoft.AspNetCore.Identity.InMemory.Test (9)
FunctionalTest.cs (9)
77options.ExpireTimeSpan = TimeSpan.FromMinutes(10); 99timeProvider.Advance(TimeSpan.FromMinutes(7)); 105timeProvider.Advance(TimeSpan.FromMinutes(7)); 146timeProvider.Advance(TimeSpan.FromMinutes(10)); 152timeProvider.Advance(TimeSpan.FromMinutes(21)); 198timeProvider.Advance(TimeSpan.FromMinutes(10)); 204timeProvider.Advance(TimeSpan.FromMinutes(21)); 239timeProvider.Advance(TimeSpan.FromMinutes(30)); 275timeProvider.Advance(TimeSpan.FromMinutes(30) + TimeSpan.FromMilliseconds(1));
Microsoft.AspNetCore.Identity.Test (3)
IdentityOptionsTest.cs (1)
18Assert.Equal(TimeSpan.FromMinutes(5), options.Lockout.DefaultLockoutTimeSpan);
IdentityPasskeyOptionsTest.cs (1)
13Assert.Equal(TimeSpan.FromMinutes(5), options.AuthenticatorTimeout);
SecurityStampValidatorTest.cs (1)
282options.Setup(a => a.Value).Returns(new SecurityStampValidatorOptions { ValidationInterval = TimeSpan.FromMinutes(1), TimeProvider = timeProvider });
Microsoft.AspNetCore.Mvc.Razor (1)
RazorViewEngine.cs (1)
37private static readonly TimeSpan _cacheExpirationDuration = TimeSpan.FromMinutes(20);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (4)
CacheTagHelperTest.cs (2)
340ExpiresAfter = TimeSpan.FromMinutes(10) 361ExpiresAfter = TimeSpan.FromMinutes(10)
DistributedCacheTagHelperTest.cs (2)
370ExpiresAfter = TimeSpan.FromMinutes(10) 393ExpiresAfter = TimeSpan.FromMinutes(10)
Microsoft.AspNetCore.Mvc.Testing (1)
.packages\microsoft.extensions.hostfactoryresolver.sources\11.0.0-preview.3.26153.117\contentFiles\cs\netstandard2.0\HostFactoryResolver.cs (1)
38return TimeSpan.FromMinutes(5);
Microsoft.AspNetCore.OpenApi.Build.Tests (1)
GenerateAdditionalXmlFilesForOpenApiTests.cs (1)
12private static readonly TimeSpan _defaultProcessTimeout = TimeSpan.FromMinutes(2);
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheEntryFormatter.cs (1)
247var created = new DateTimeOffset(ticks, TimeSpan.FromMinutes(offsetMinutes));
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (1)
RedisOutputCacheStore.cs (1)
131var gcLifetime = TimeSpan.FromMinutes(5);
Microsoft.AspNetCore.OutputCaching.Tests (11)
DefaultOutputCachePolicyProviderTests.cs (9)
16var policy1 = new OutputCachePolicyBuilder().Expire(TimeSpan.FromMinutes(5)).Build(); 17var policy2 = new OutputCachePolicyBuilder().Expire(TimeSpan.FromMinutes(10)).Build(); 55var policy = new OutputCachePolicyBuilder().Expire(TimeSpan.FromMinutes(15)).Build(); 111var policy1 = new OutputCachePolicyBuilder().Expire(TimeSpan.FromMinutes(5)).Build(); 112var policy2 = new OutputCachePolicyBuilder().Expire(TimeSpan.FromMinutes(10)).Build(); 113var policy3 = new OutputCachePolicyBuilder().Expire(TimeSpan.FromMinutes(15)).Build(); 138var policy = new OutputCachePolicyBuilder().Expire(TimeSpan.FromMinutes(20)).Build(); 160options.AddBasePolicy(builder => builder.Expire(TimeSpan.FromMinutes(30))); 179.Expire(TimeSpan.FromMinutes(45))
MemoryOutputCacheStoreTests.cs (2)
18await store.SetAsync(key, value, null, TimeSpan.FromMinutes(1), default); 245await Assert.ThrowsAsync<ArgumentException>(async () => await store.SetAsync(key, value, new string[] { tag }, TimeSpan.FromMinutes(1), default));
Microsoft.AspNetCore.Rewrite (1)
ApacheModRewrite\CookieActionFactory.cs (1)
88action!.Lifetime = TimeSpan.FromMinutes(minutes);
Microsoft.AspNetCore.Rewrite.Tests (3)
ApacheModRewrite\CookieActionFactoryTest.cs (2)
18Assert.Equal(TimeSpan.FromMinutes(1440), cookie.Lifetime); 32Assert.Equal(TimeSpan.FromMinutes(1440), action.Lifetime);
UrlActions\ChangeCookieActionTests.cs (1)
21Lifetime = TimeSpan.FromMinutes(1440),
Microsoft.AspNetCore.Server.IntegrationTesting (5)
ApplicationPublisher.cs (1)
78var timeout = deploymentParameters.PublishTimeout ?? TimeSpan.FromMinutes(5);
Deployers\RemoteWindowsDeployer\RemoteWindowsDeployer.cs (1)
259await Task.Delay(TimeSpan.FromMinutes(1));
Deployers\SelfHostDeployer.cs (1)
198await started.Task.TimeoutAfter(TimeSpan.FromMinutes(15));
src\Shared\Process\ProcessEx.cs (2)
21private static readonly TimeSpan DefaultProcessTimeout = TimeSpan.FromMinutes(15); 32private readonly CancellationTokenSource _stdoutLinesCancellationSource = new CancellationTokenSource(TimeSpan.FromMinutes(5));
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (3)
IISExpressDeployer.cs (3)
26private readonly TimeSpan ShutdownTimeSpan = Debugger.IsAttached ? TimeSpan.FromMinutes(60) : TimeSpan.FromMinutes(2); 245if (!await started.Task.TimeoutAfter(TimeSpan.FromMinutes(15)))
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
276TimeSpan MaxRegexTimeout = TimeSpan.FromMinutes(1);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (1)
157TimeSpan.FromMinutes(1),
src\Servers\Kestrel\shared\test\StreamBackedTestConnection.cs (1)
18private static readonly TimeSpan Timeout = TimeSpan.FromMinutes(1);
Microsoft.AspNetCore.Session (2)
SessionOptions.cs (2)
38public TimeSpan IdleTimeout { get; set; } = TimeSpan.FromMinutes(20); 44public TimeSpan IOTimeout { get; set; } = TimeSpan.FromMinutes(1);
Microsoft.AspNetCore.Session.Tests (2)
SessionTests.cs (2)
480services.AddSession(o => o.IdleTimeout = TimeSpan.FromMinutes(20)); 500clock.Add(TimeSpan.FromMinutes(10));
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
276TimeSpan MaxRegexTimeout = TimeSpan.FromMinutes(1);
Microsoft.AspNetCore.SignalR.Client.Tests (5)
HubConnectionBuilderTests.cs (4)
84var serverTimeout = TimeSpan.FromMinutes(1); 97var keepAliveInterval = TimeSpan.FromMinutes(1); 110var serverTimeout = TimeSpan.FromMinutes(2); 111var keepAliveInterval = TimeSpan.FromMinutes(3);
HubConnectionTests.Reconnect.cs (1)
1068return TimeSpan.FromMinutes(1);
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Docker.cs (1)
116RunProcessAndThrowIfFailed(_path, $"run --rm -p 6379:6379 --name {_dockerContainerName} -d {_redisImageName}", "redis", logger, TimeSpan.FromMinutes(1));
Microsoft.AspNetCore.TestHost (1)
.packages\microsoft.extensions.hostfactoryresolver.sources\11.0.0-preview.3.26153.117\contentFiles\cs\netstandard2.0\HostFactoryResolver.cs (1)
38return TimeSpan.FromMinutes(5);
Microsoft.AspNetCore.WebSockets (1)
WebSocketOptions.cs (1)
18KeepAliveInterval = TimeSpan.FromMinutes(2);
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
AutobahnTests.cs (1)
15private static readonly TimeSpan TestTimeout = TimeSpan.FromMinutes(3);
Microsoft.AspNetCore.WebSockets.Tests (2)
WebSocketPair.cs (2)
32clientSocket: WebSocket.CreateFromStream(clientStream, isServer: false, subProtocol: null, keepAliveInterval: TimeSpan.FromMinutes(2)), 33serverSocket: WebSocket.CreateFromStream(serverStream, isServer: true, subProtocol: null, keepAliveInterval: TimeSpan.FromMinutes(2)));
Microsoft.CodeAnalysis.CSharp (1)
CommandLine\CSharpCommandLineParser.cs (1)
295var timeout = TimeSpan.FromMinutes(2);
Microsoft.CodeAnalysis.Features (2)
SymbolSearch\Windows\SymbolSearchUpdateEngine.DelayService.cs (2)
13public TimeSpan CachePollDelay { get; } = TimeSpan.FromMinutes(1); 15public TimeSpan ExpectedFailureDelay { get; } = TimeSpan.FromMinutes(1);
Microsoft.CodeAnalysis.LanguageServer (1)
Program.cs (1)
83var timeout = TimeSpan.FromMinutes(2);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Ordering\RequestOrderingTests.cs (1)
142using var cts = new CancellationTokenSource(TimeSpan.FromMinutes(1));
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Host\RemoteWorkspaceManager.cs (1)
53=> new(workspace, cleanupInterval: TimeSpan.FromSeconds(30), purgeAfter: TimeSpan.FromMinutes(1));
Services\ProcessTelemetry\RemoteProcessTelemetryService.PerformanceReporter.cs (1)
38TimeSpan.FromMinutes(2),
Microsoft.CodeAnalysis.Test.Utilities (1)
TestHelpers.cs (1)
29public static readonly TimeSpan HangMitigatingTimeout = TimeSpan.FromMinutes(4);
Microsoft.CodeAnalysis.Workspaces (2)
Storage\SQLite\v2\Interop\SqlConnection.cs (1)
110NativeMethods.sqlite3_busy_timeout(handle, (int)TimeSpan.FromMinutes(1).TotalMilliseconds);
Telemetry\TelemetryLogging.cs (1)
140await Task.Delay(TimeSpan.FromMinutes(30), cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
WorkspaceTestBase.cs (1)
22protected static readonly TimeSpan AsyncEventTimeout = TimeSpan.FromMinutes(5);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
MEF\UseExportProviderAttribute.cs (1)
54private static readonly TimeSpan CleanupTimeout = TimeSpan.FromMinutes(1);
Microsoft.DotNet.Build.Tasks.Feed (3)
src\common\UploadToAzure.cs (1)
117CancellationTokenSource timeoutTokenSource = new CancellationTokenSource(TimeSpan.FromMinutes(UploadTimeoutInMinutes));
src\PublishArtifactsInManifestBase.cs (2)
996using CancellationTokenSource timeoutTokenSource = new CancellationTokenSource(TimeSpan.FromMinutes(TimeoutInMinutes)); 1031new CancellationTokenSource(TimeSpan.FromMinutes(TimeoutInMinutes));
Microsoft.DotNet.Helix.Sdk (8)
CreateXHarnessAppleWorkItems.cs (2)
37private static readonly TimeSpan s_defaultSimulatorLaunchTimeout = TimeSpan.FromMinutes(6); 38private static readonly TimeSpan s_defaultDeviceLaunchTimeout = TimeSpan.FromMinutes(5);
CreateXUnitV3WorkItems.cs (1)
124TimeSpan timeout = TimeSpan.FromMinutes(5);
CreateXUnitWorkItems.cs (1)
139TimeSpan timeout = TimeSpan.FromMinutes(5);
DownloadFromResultsContainer.cs (1)
103NetworkTimeout = TimeSpan.FromMinutes(5)
XharnessTaskBase.cs (3)
18private static readonly TimeSpan s_defaultWorkItemTimeout = TimeSpan.FromMinutes(20); 19private static readonly TimeSpan s_defaultTestTimeout = TimeSpan.FromMinutes(12); 20private static readonly TimeSpan s_telemetryBuffer = TimeSpan.FromMinutes(2); // extra time to send the XHarness telemetry
Microsoft.DotNet.Internal.SymbolHelper (3)
SymbolPromotionHelper.cs (1)
61MaxDelay = TimeSpan.FromMinutes(1),
SymbolUploadHelper.cs (1)
449lcts.CancelAfter(TimeSpan.FromMinutes(_symbolToolTimeoutInMins));
SymbolUploadHelperFactory.cs (1)
121MaxDelay = TimeSpan.FromMinutes(5),
Microsoft.DotNet.SignCheckLibrary (1)
Utils.cs (1)
18private static readonly HttpClient s_client = new(new SocketsHttpHandler { PooledConnectionLifetime = TimeSpan.FromMinutes(10) });
Microsoft.DotNet.SignTool (1)
src\VerifySignatures.cs (1)
28private static readonly HttpClient client = new(new SocketsHttpHandler { PooledConnectionLifetime = TimeSpan.FromMinutes(10) });
Microsoft.DotNet.XUnitAssert.Tests (8)
EqualityAssertsTests.cs (8)
1762 var precision = TimeSpan.FromMinutes(1); 1777 var precision = TimeSpan.FromMinutes(1); 1778 var difference = TimeSpan.FromMinutes(2); 1881 var precision = TimeSpan.FromMinutes(1); 1896 var precision = TimeSpan.FromMinutes(1); 1897 var difference = TimeSpan.FromMinutes(2); 1930 var precision = TimeSpan.FromMinutes(1); 1945 var precision = TimeSpan.FromMinutes(1);
Microsoft.Extensions.ApiDescription.Client.Tests (2)
src\Shared\Process\ProcessEx.cs (2)
21private static readonly TimeSpan DefaultProcessTimeout = TimeSpan.FromMinutes(15); 32private readonly CancellationTokenSource _stdoutLinesCancellationSource = new CancellationTokenSource(TimeSpan.FromMinutes(5));
Microsoft.Extensions.Caching.Hybrid.Tests (23)
DistributedCacheTests.cs (9)
81Clock.Add(TimeSpan.FromMinutes(4)); 86Clock.Add(TimeSpan.FromMinutes(2)); 127Clock.Add(TimeSpan.FromMinutes(4)); 132Clock.Add(TimeSpan.FromMinutes(2)); 195Clock.Add(TimeSpan.FromMinutes(4)); 200Clock.Add(TimeSpan.FromMinutes(2)); 257Clock.Add(TimeSpan.FromMinutes(4)); 262Clock.Add(TimeSpan.FromMinutes(2)); 393= new() { AbsoluteExpirationRelativeToNow = TimeSpan.FromMinutes(5) };
ExpirationTests.cs (2)
28HybridCacheEntryOptions options = new() { Expiration = TimeSpan.FromMinutes(2), LocalCacheExpiration = TimeSpan.FromMinutes(1) };
PayloadTests.cs (8)
51int actualLength = HybridCachePayload.Write(oversized, key, cache.CurrentTimestamp(), TimeSpan.FromMinutes(1), 0, tags, new(bytes)); 81int actualLength = HybridCachePayload.Write(oversized, key, cache.CurrentTimestamp(), TimeSpan.FromMinutes(1), 0, tags, new(bytes)); 115int actualLength = HybridCachePayload.Write(oversized, key, cache.CurrentTimestamp(), TimeSpan.FromMinutes(1), 0, tags, new(bytes)); 145int actualLength = HybridCachePayload.Write(oversized, key, cache.CurrentTimestamp(), TimeSpan.FromMinutes(1), 0, tags, new(bytes)); 182int actualLength = HybridCachePayload.Write(oversized, key, creation, TimeSpan.FromMinutes(1), 0, tags, new(bytes)); 235int actualLength = HybridCachePayload.Write(oversized, key, cache.CurrentTimestamp(), TimeSpan.FromMinutes(1), 0, tags, new(bytes)); 262int actualLength = HybridCachePayload.Write(oversized, key, cache.CurrentTimestamp(), TimeSpan.FromMinutes(1), 0, tags, new(bytes)); 348int actualLength = HybridCachePayload.Write(oversized, key, cache.CurrentTimestamp(), TimeSpan.FromMinutes(1), 0, writeTags, new(bytes));
ServiceConstructionTests.cs (4)
596Expiration = defaultExpiration is null ? null : TimeSpan.FromMinutes(defaultExpiration.GetValueOrDefault()), 597LocalCacheExpiration = defaultLocalCacheExpiration is null ? null : TimeSpan.FromMinutes(defaultLocalCacheExpiration.GetValueOrDefault()), 611Expiration = perItemExpiration is null ? null : TimeSpan.FromMinutes(perItemExpiration.GetValueOrDefault()), 612LocalCacheExpiration = perItemLocalCacheExpiration is null ? null : TimeSpan.FromMinutes(perItemLocalCacheExpiration.GetValueOrDefault()),
Microsoft.Extensions.Caching.Memory (1)
MemoryCacheOptions.cs (1)
29public TimeSpan ExpirationScanFrequency { get; set; } = TimeSpan.FromMinutes(1);
Microsoft.Extensions.Caching.MicroBenchmarks (2)
DistributedCacheBenchmarks.cs (2)
105var options = new DistributedCacheEntryOptions { AbsoluteExpirationRelativeToNow = TimeSpan.FromMinutes(30) }; 106options.SlidingExpiration = Sliding ? TimeSpan.FromMinutes(5) : null;
Microsoft.Extensions.Caching.SqlServer (3)
SqlServerCache.cs (2)
21private static readonly TimeSpan MinimumExpiredItemsDeletionInterval = TimeSpan.FromMinutes(5); 22private static readonly TimeSpan DefaultExpiredItemsDeletionInterval = TimeSpan.FromMinutes(30);
SqlServerCacheOptions.cs (1)
49public TimeSpan DefaultSlidingExpiration { get; set; } = TimeSpan.FromMinutes(20);
Microsoft.Extensions.Caching.SqlServer.Tests (4)
SqlServerCacheWithDatabaseTest.cs (4)
105new DistributedCacheEntryOptions().SetSlidingExpiration(TimeSpan.FromMinutes(30))); 168cacheOptions.DefaultSlidingExpiration = cacheOptions.DefaultSlidingExpiration.Add(TimeSpan.FromMinutes(10)); 214new DistributedCacheEntryOptions().SetSlidingExpiration(TimeSpan.FromMinutes(30))); 438absoluteExpiration = testClock.UtcNow.Add(TimeSpan.FromMinutes(30));
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (10)
TimeExpirationAsyncTests.cs (5)
44var expected = DateTimeOffset.Now - TimeSpan.FromMinutes(1); 98await cache.SetAsync(key, value, new DistributedCacheEntryOptions().SetAbsoluteExpiration(TimeSpan.FromMinutes(-1))); 102TimeSpan.FromMinutes(-1)); 163await cache.SetAsync(key, value, new DistributedCacheEntryOptions().SetSlidingExpiration(TimeSpan.FromMinutes(-1))); 164}, nameof(DistributedCacheEntryOptions.SlidingExpiration), "The sliding expiration value must be positive.", TimeSpan.FromMinutes(-1));
TimeExpirationTests.cs (5)
27var expected = DateTimeOffset.Now - TimeSpan.FromMinutes(1); 81cache.Set(key, value, new DistributedCacheEntryOptions().SetAbsoluteExpiration(TimeSpan.FromMinutes(-1))); 85TimeSpan.FromMinutes(-1)); 147cache.Set(key, value, new DistributedCacheEntryOptions().SetSlidingExpiration(TimeSpan.FromMinutes(-1))); 148}, nameof(DistributedCacheEntryOptions.SlidingExpiration), "The sliding expiration value must be positive.", TimeSpan.FromMinutes(-1));
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (5)
HealthCheckPublisherHostedServiceTest.cs (5)
761options.Delay = TimeSpan.FromMinutes(5); 762options.Period = TimeSpan.FromMinutes(5); 763options.Timeout = TimeSpan.FromMinutes(5); 788private Task RunServiceAsync(HealthCheckPublisherHostedService service) => service.RunAsync((TimeSpan.FromMinutes(5), TimeSpan.FromMinutes(5)));
Microsoft.Extensions.Diagnostics.ResourceMonitoring (3)
Linux\Disk\LinuxSystemDiskMetrics.cs (1)
36private readonly TimeSpan _retryInterval = TimeSpan.FromMinutes(5);
Linux\LinuxUtilizationProvider.cs (1)
33private readonly TimeSpan _retryInterval = TimeSpan.FromMinutes(5);
Linux\Network\LinuxNetworkMetrics.cs (1)
19private readonly TimeSpan _retryInterval = TimeSpan.FromMinutes(5);
Microsoft.Extensions.Http (1)
HttpClientFactoryOptions.cs (1)
23private TimeSpan _handlerLifetime = TimeSpan.FromMinutes(2);
Microsoft.Extensions.Identity.Core (2)
LockoutOptions.cs (1)
34public TimeSpan DefaultLockoutTimeSpan { get; set; } = TimeSpan.FromMinutes(5);
Rfc6238AuthenticationService.cs (1)
17private static readonly TimeSpan _timestep = TimeSpan.FromMinutes(3);
Microsoft.Extensions.ServiceDiscovery.Dns (2)
DnsServiceEndpointProviderOptions.cs (1)
14public TimeSpan DefaultRefreshPeriod { get; set; } = TimeSpan.FromMinutes(1);
DnsSrvServiceEndpointProviderOptions.cs (1)
14public TimeSpan DefaultRefreshPeriod { get; set; } = TimeSpan.FromMinutes(1);
Microsoft.Extensions.Validation.GeneratorTests (1)
ValidationsGeneratorTestBase.cs (1)
254return TimeSpan.FromMinutes(5);
Microsoft.JSInterop.Tests (2)
JSRuntimeExtensionsTest.cs (2)
106var result = await jsRuntime.Object.InvokeAsync<string>(method, TimeSpan.FromMinutes(5), args); 152await jsRuntime.Object.InvokeVoidAsync(method, TimeSpan.FromMinutes(5), args);
Microsoft.ML.PerformanceTests (1)
Harness\Configs.cs (1)
21Add(DefaultConfig.Instance.WithOption(ConfigOptions.Default, true).WithBuildTimeout(TimeSpan.FromMinutes(5))); // this config contains all of the basic settings (exporters, columns etc)
Microsoft.ML.TestFrameworkCommon (1)
AsyncTestHelper.cs (1)
16return Debugger.IsAttached ? TimeSpan.FromHours(1) : TimeSpan.FromMinutes(1);
Microsoft.ML.Tokenizers.Data.Tests (1)
test\Microsoft.ML.Tokenizers.Tests\Utils.cs (1)
17using (var client = new HttpClient() { Timeout = TimeSpan.FromMinutes(5) })
Microsoft.ML.Tokenizers.Tests (2)
LlamaTests.cs (1)
21private static readonly HttpClient _httpClient = new HttpClient() { Timeout = TimeSpan.FromMinutes(5) };
Utils.cs (1)
17using (var client = new HttpClient() { Timeout = TimeSpan.FromMinutes(5) })
PresentationCore (1)
MS\Internal\Automation\ElementUtil.cs (1)
190TimeSpan.FromMinutes(3),
RepoTasks (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
276TimeSpan MaxRegexTimeout = TimeSpan.FromMinutes(1);
RunTests (1)
Options.cs (1)
253Timeout = timeout is { } t ? TimeSpan.FromMinutes(t) : null,
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\StreamBackedTestConnection.cs (1)
18private static readonly TimeSpan Timeout = TimeSpan.FromMinutes(1);
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\StreamBackedTestConnection.cs (1)
18private static readonly TimeSpan Timeout = TimeSpan.FromMinutes(1);
System.Configuration.ConfigurationManager (1)
System\Configuration\TimeSpanMinutesConverter.cs (1)
22return TimeSpan.FromMinutes(min);
System.Net.Http (1)
src\libraries\Common\src\System\Net\Http\HttpHandlerDefaults.cs (1)
29public static readonly TimeSpan DefaultPooledConnectionIdleTimeout = TimeSpan.FromMinutes(1);
System.Net.Requests (1)
src\libraries\Common\src\System\Net\Http\HttpHandlerDefaults.cs (1)
29public static readonly TimeSpan DefaultPooledConnectionIdleTimeout = TimeSpan.FromMinutes(1);
System.Net.Security (1)
System\Net\Security\SslStreamCertificateContext.Linux.cs (1)
23internal static TimeSpan MinRefreshBeforeExpirationInterval => TimeSpan.FromMinutes(5);
System.Security.Cryptography (2)
System\Security\Cryptography\X509Certificates\ChainPal.OpenSsl.cs (1)
11private static readonly TimeSpan s_maxUrlRetrievalTimeout = TimeSpan.FromMinutes(1);
System\Security\Cryptography\X509Certificates\OpenSslCachedSystemStoreProvider.cs (1)
22private static readonly TimeSpan s_assumeInvalidInterval = TimeSpan.FromMinutes(5);
System.ServiceModel.Http.Tests (20)
ServiceModel\BasicHttpBindingTest.cs (12)
29Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(1), binding.CloseTimeout); 30Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(1), binding.OpenTimeout); 31Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(10), binding.ReceiveTimeout); 32Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(1), binding.SendTimeout); 54Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(1), binding.CloseTimeout); 55Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(1), binding.OpenTimeout); 56Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(10), binding.ReceiveTimeout); 57Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(1), binding.SendTimeout); 78Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(1), binding.CloseTimeout); 79Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(1), binding.OpenTimeout); 80Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(10), binding.ReceiveTimeout); 81Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(1), binding.SendTimeout);
ServiceModel\BasicHttpsBindingTest.cs (8)
27Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(1), binding.CloseTimeout); 28Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(1), binding.OpenTimeout); 29Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(10), binding.ReceiveTimeout); 30Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(1), binding.SendTimeout); 52Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(1), binding.CloseTimeout); 53Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(1), binding.OpenTimeout); 54Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(10), binding.ReceiveTimeout); 55Assert.Equal<TimeSpan>(TimeSpan.FromMinutes(1), binding.SendTimeout);
System.ServiceModel.NetNamedPipe (3)
System\Runtime\BackoffTimeoutHelper.cs (1)
13private static readonly TimeSpan s_defaultMaxWaitTime = TimeSpan.FromMinutes(1);
System\ServiceModel\Channels\PipeConnectionInitiator.cs (1)
165backoffHelper = new BackoffTimeoutHelper(backoffTimeout, TimeSpan.FromMinutes(5));
System\ServiceModel\Channels\TransportDefaults.cs (1)
18public static TimeSpan IdleTimeout => TimeSpan.FromMinutes(2);
System.ServiceModel.NetTcp (2)
System\ServiceModel\Channels\TransportDefaults.cs (2)
28public static TimeSpan ConnectionLeaseTimeout => TimeSpan.FromMinutes(5); 39public static TimeSpan IdleTimeout => TimeSpan.FromMinutes(2);
System.ServiceModel.Primitives (5)
System\ServiceModel\ServiceDefaults.cs (4)
10public static TimeSpan CloseTimeout { get { return TimeSpan.FromMinutes(1); } } 11public static TimeSpan OpenTimeout { get { return TimeSpan.FromMinutes(1); } } 12public static TimeSpan ReceiveTimeout { get { return TimeSpan.FromMinutes(10); } } 13public static TimeSpan SendTimeout { get { return TimeSpan.FromMinutes(1); } }
System\ServiceModel\SpnEndpointIdentity.cs (1)
12private static TimeSpan s_spnLookupTime = TimeSpan.FromMinutes(1);
System.ServiceModel.Primitives.Tests (2)
Channels\CommunicationObjectTest.cs (2)
144TimeSpan timeout = TimeSpan.FromMinutes(30); 239TimeSpan timeout = TimeSpan.FromMinutes(5);
System.ServiceModel.Syndication (1)
System\ServiceModel\Syndication\SyndicationFeed.cs (1)
271return TimeSpan.FromMinutes(timeToLive);
System.ServiceModel.UnixDomainSocket (2)
System\ServiceModel\Channels\TransportDefaults.cs (2)
28public static TimeSpan ConnectionLeaseTimeout => TimeSpan.FromMinutes(5); 36public static TimeSpan IdleTimeout => TimeSpan.FromMinutes(2);
System.Transactions.Local (2)
System\Transactions\Configuration\DefaultSettingsSection.cs (1)
14public static TimeSpan Timeout => TimeSpan.FromMinutes(1);
System\Transactions\Configuration\MachineSettingsSection.cs (1)
12public static TimeSpan MaxTimeout => TimeSpan.FromMinutes(10);
System.Xaml.Tests (4)
System\Xaml\Replacements\DateTimeOffsetConverter2Tests.cs (4)
31DateTimeOffset dateTimeOffset = new DateTimeOffset(2018, 12, 9, 1, 2, 3, 4, TimeSpan.FromMinutes(10)); 71yield return new object?[] { new DateTimeOffset(2018, 12, 9, 1, 2, 3, 4, TimeSpan.FromMinutes(10)), new CultureInfo("en-US") }; 86var dateTimeOffset = new DateTimeOffset(2018, 12, 9, 1, 2, 3, 4, TimeSpan.FromMinutes(10)); 92Assert.Equal(new object[] { 2018, 12, 9, 1, 2, 3, 4, TimeSpan.FromMinutes(10) }, descriptor.Arguments);
Templates.Blazor.Tests (5)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
49Timeout = TimeSpan.FromMinutes(2)
src\ProjectTemplates\Shared\ProcessLock.cs (1)
27timeout ??= TimeSpan.FromMinutes(20);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
276TimeSpan MaxRegexTimeout = TimeSpan.FromMinutes(1);
src\Shared\Process\ProcessEx.cs (2)
21private static readonly TimeSpan DefaultProcessTimeout = TimeSpan.FromMinutes(15); 32private readonly CancellationTokenSource _stdoutLinesCancellationSource = new CancellationTokenSource(TimeSpan.FromMinutes(5));
Templates.Blazor.WebAssembly.Auth.Tests (5)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
49Timeout = TimeSpan.FromMinutes(2)
src\ProjectTemplates\Shared\ProcessLock.cs (1)
27timeout ??= TimeSpan.FromMinutes(20);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
276TimeSpan MaxRegexTimeout = TimeSpan.FromMinutes(1);
src\Shared\Process\ProcessEx.cs (2)
21private static readonly TimeSpan DefaultProcessTimeout = TimeSpan.FromMinutes(15); 32private readonly CancellationTokenSource _stdoutLinesCancellationSource = new CancellationTokenSource(TimeSpan.FromMinutes(5));
Templates.Blazor.WebAssembly.Tests (5)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
49Timeout = TimeSpan.FromMinutes(2)
src\ProjectTemplates\Shared\ProcessLock.cs (1)
27timeout ??= TimeSpan.FromMinutes(20);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
276TimeSpan MaxRegexTimeout = TimeSpan.FromMinutes(1);
src\Shared\Process\ProcessEx.cs (2)
21private static readonly TimeSpan DefaultProcessTimeout = TimeSpan.FromMinutes(15); 32private readonly CancellationTokenSource _stdoutLinesCancellationSource = new CancellationTokenSource(TimeSpan.FromMinutes(5));
Templates.Mvc.Tests (5)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
49Timeout = TimeSpan.FromMinutes(2)
src\ProjectTemplates\Shared\ProcessLock.cs (1)
27timeout ??= TimeSpan.FromMinutes(20);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
276TimeSpan MaxRegexTimeout = TimeSpan.FromMinutes(1);
src\Shared\Process\ProcessEx.cs (2)
21private static readonly TimeSpan DefaultProcessTimeout = TimeSpan.FromMinutes(15); 32private readonly CancellationTokenSource _stdoutLinesCancellationSource = new CancellationTokenSource(TimeSpan.FromMinutes(5));
Templates.Tests (5)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
49Timeout = TimeSpan.FromMinutes(2)
src\ProjectTemplates\Shared\ProcessLock.cs (1)
27timeout ??= TimeSpan.FromMinutes(20);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
276TimeSpan MaxRegexTimeout = TimeSpan.FromMinutes(1);
src\Shared\Process\ProcessEx.cs (2)
21private static readonly TimeSpan DefaultProcessTimeout = TimeSpan.FromMinutes(15); 32private readonly CancellationTokenSource _stdoutLinesCancellationSource = new CancellationTokenSource(TimeSpan.FromMinutes(5));
UnitTests.Common (2)
TestData.cs (2)
24{ TimeSpan.FromMinutes(1)}, 36{ TimeSpan.FromMinutes(-1)},
VBCSCompiler (1)
src\Compilers\Server\VBCSCompiler\ServerDispatcher.cs (1)
46internal static readonly TimeSpan DefaultServerKeepAlive = TimeSpan.FromMinutes(10);
Wasm.Performance.Driver (1)
Program.cs (1)
79var timeForEachRun = TimeSpan.FromMinutes(3);