803 references to FromMinutes
aspire (5)
Certificates\CertificateGeneration\MacOSCertificateManager.cs (1)
286var maxRegexTimeout = TimeSpan.FromMinutes(1);
Commands\RenderCommand.cs (2)
528new("root", "Full pipeline", ConsoleActivityLogger.ActivityState.Success, TimeSpan.FromMinutes(3), null, null, 0, 1, TimeSpan.Zero, TimeSpan.FromMinutes(3)),
src\Shared\FileLock.cs (1)
33private static readonly TimeSpan s_defaultTimeout = TimeSpan.FromMinutes(5);
Utils\EnvironmentChecker\EnvironmentChecker.cs (1)
18internal static readonly TimeSpan s_defaultTotalTimeout = TimeSpan.FromMinutes(2);
Aspire.Cli.EndToEnd.Tests (291)
AgentMcpExcludeFromMcpTests.cs (1)
56await auto.WaitUntilTextAsync("is up (running).", timeout: TimeSpan.FromMinutes(6));
AgentMcpLogsTests.cs (1)
61await auto.WaitUntilTextAsync("is up (running).", timeout: TimeSpan.FromMinutes(6));
AppHostSyntaxErrorOutputTests.cs (5)
29timeout: TimeSpan.FromMinutes(2)); 43timeout: TimeSpan.FromMinutes(2)); 57timeout: TimeSpan.FromMinutes(2)); 71timeout: TimeSpan.FromMinutes(3)); 85timeout: TimeSpan.FromMinutes(3));
ChannelUpdateWorkflowTests.cs (4)
125await auto.WaitForAspireAddSuccessAsync(counter, TimeSpan.FromMinutes(2)); 179await auto.WaitForAspireAddSuccessAsync(counter, TimeSpan.FromMinutes(2)); 345await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 446}, TimeSpan.FromMinutes(3), description: "waiting for stable update preview");
CliTelemetryTests.cs (1)
62await auto.AspireStartAsync(counter, startTimeout: TimeSpan.FromMinutes(4), additionalArgs: $"--capture-profile --capture-profile-output {profilePath}", skipDashboardCheck: true);
ConfigDiscoveryTests.cs (1)
191}, timeout: TimeSpan.FromMinutes(3), description: "aspire run started or errored");
ConfigHealingTests.cs (1)
71await auto.WaitUntilTextAsync("Press CTRL+C to stop the AppHost and exit.", timeout: TimeSpan.FromMinutes(3));
CSharpInitTests.cs (1)
51await auto.WaitUntilTextAsync("Created aspire.config.json", timeout: TimeSpan.FromMinutes(2));
CSharpProjectModeInitTests.cs (1)
111TimeSpan.FromMinutes(3));
DescribeCommandTests.cs (4)
46await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 76await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1)); 143await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 194await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1));
DockerDeploymentTests.cs (2)
98await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 199await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5));
DoctorCommandTests.cs (3)
130await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 181await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 190TimeSpan.FromMinutes(2));
EmptyAppHostTemplateTests.cs (1)
96TimeSpan.FromMinutes(2));
EmulatedLocalReleaseBuildTests.cs (3)
274await auto.WaitUntilTextAsync(AddCommandStrings.SelectAnIntegrationToAdd, timeout: TimeSpan.FromMinutes(1)); 283}, timeout: TimeSpan.FromMinutes(2), description: "version prompt or add success"); 290await auto.WaitUntilTextAsync("was added successfully.", timeout: TimeSpan.FromMinutes(2));
EmulatedReleasedBuildTests.cs (3)
187await auto.WaitUntilTextAsync(AddCommandStrings.SelectAnIntegrationToAdd, timeout: TimeSpan.FromMinutes(1)); 196}, timeout: TimeSpan.FromMinutes(2), description: "version prompt or add success"); 203await auto.WaitUntilTextAsync("was added successfully.", timeout: TimeSpan.FromMinutes(2));
EmulatedStagingBuildTests.cs (3)
219await auto.WaitUntilTextAsync(AddCommandStrings.SelectAnIntegrationToAdd, timeout: TimeSpan.FromMinutes(1)); 228}, timeout: TimeSpan.FromMinutes(2), description: "version prompt or add success"); 235await auto.WaitUntilTextAsync("was added successfully.", timeout: TimeSpan.FromMinutes(2));
EntityFrameworkCoreDeploymentTests.cs (8)
62await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(10)); 63await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(1)); 80await auto.WaitForAnyPromptAsync(counter, TimeSpan.FromMinutes(2)); 104await auto.WaitForAspireAddCompletionAsync(counter, TimeSpan.FromMinutes(3)); 111await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 122await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 148await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 320await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3));
Helpers\CliE2EAutomatorHelpers.cs (5)
202var effectiveTimeout = timeout ?? TimeSpan.FromMinutes(2); 232var effectiveTimeout = timeout ?? TimeSpan.FromMinutes(2); 763var effectiveTimeout = startTimeout ?? TimeSpan.FromMinutes(3); 1036timeout ??= TimeSpan.FromMinutes(2); 1040await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(1));
Helpers\KubernetesDeployTestHelpers.cs (11)
84await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 163await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 205await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(10)); 209await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 213await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 217await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 301timeout: TimeSpan.FromMinutes(5), 372await auto.WaitUntilTextAsync(promptText, timeout: TimeSpan.FromMinutes(5)); 378await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(10)); 397await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(4)); 434await auto.WaitUntilTextAsync("VERIFY_OK", timeout: TimeSpan.FromMinutes(4));
IsolatedInstancesOtelLogsTests.cs (2)
56await auto.WaitUntilTextAsync("is up (running).", timeout: TimeSpan.FromMinutes(6)); 62await auto.WaitUntilTextAsync("is up (running).", timeout: TimeSpan.FromMinutes(6));
JavaCodegenValidationTests.cs (5)
39await auto.WaitUntilTextAsync("Created AppHost.java", timeout: TimeSpan.FromMinutes(2)); 44await auto.WaitUntilTextAsync("The package Aspire.Hosting.", timeout: TimeSpan.FromMinutes(2)); 49await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3)); 74await auto.WaitUntilTextAsync("The package Aspire.Hosting.", timeout: TimeSpan.FromMinutes(2)); 79await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3));
JavaPolyglotApphostDirectoryTests.cs (6)
57await auto.WaitUntilTextAsync("Created AppHost.java", timeout: TimeSpan.FromMinutes(2)); 62await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 66await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 70await auto.WaitUntilTextAsync("The package Aspire.Hosting.", timeout: TimeSpan.FromMinutes(2)); 92await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 107await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1));
JavaPolyglotTests.cs (5)
39await auto.WaitUntilTextAsync("Created AppHost.java", timeout: TimeSpan.FromMinutes(2)); 44await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 48await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 52await auto.WaitUntilTextAsync("The package Aspire.Hosting.", timeout: TimeSpan.FromMinutes(2)); 72await auto.WaitUntilTextAsync("Press CTRL+C to stop the AppHost and exit.", timeout: TimeSpan.FromMinutes(3));
JavaScriptPublishTests.cs (6)
47await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 74await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(5)); 110await auto.RunCommandAsync("aspire init --language typescript --non-interactive", counter, TimeSpan.FromMinutes(2)); 119await auto.WaitForAspireAddCompletionAsync(counter, TimeSpan.FromMinutes(2)); 128await auto.RunCommandAsync("bash verify-runtime.sh", counter, TimeSpan.FromMinutes(2)); 134await auto.RunCommandAsync("if [ -f aspire-run.pid ]; then kill \"$(cat aspire-run.pid)\" 2>/dev/null || true; wait \"$(cat aspire-run.pid)\" 2>/dev/null || true; fi", counter, TimeSpan.FromMinutes(1));
JsReactTemplateTests.cs (1)
49}, timeout: TimeSpan.FromMinutes(2), description: "Press CTRL+C message (aspire run started)");
KubernetesDeployTypeScriptTests.cs (2)
64await auto.WaitForAspireAddCompletionAsync(counter, TimeSpan.FromMinutes(2)); 69await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3));
KubernetesDeployTypeScriptWithPersistentVolumeTests.cs (7)
75await auto.WaitForAspireAddCompletionAsync(counter, TimeSpan.FromMinutes(2)); 83await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3)); 212await auto.WaitUntilTextAsync("PVC_BOUND_OK", timeout: TimeSpan.FromMinutes(2)); 217await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 245await auto.WaitUntilTextAsync("WROTE_OK_wrote-42", timeout: TimeSpan.FromMinutes(2)); 263await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(4)); 274await auto.WaitUntilTextAsync("READ_OK_wrote-42", timeout: TimeSpan.FromMinutes(2));
KubernetesDeployWithPersistentVolumeTests.cs (4)
179await auto.WaitUntilTextAsync("PVC_BOUND_OK", timeout: TimeSpan.FromMinutes(2)); 185await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 215await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(4)); 274await auto.WaitUntilTextAsync("DURAB_OK_PASS", timeout: TimeSpan.FromMinutes(4));
KubernetesDeployWithProjectPersistentVolumeTests.cs (4)
156await auto.WaitUntilTextAsync("PVC_BOUND_OK", timeout: TimeSpan.FromMinutes(2)); 161await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 188await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(4)); 234await auto.WaitUntilTextAsync("VERIFY_OK", timeout: TimeSpan.FromMinutes(4));
KubernetesPublishRequiresExternalEndpointTests.cs (1)
121TimeSpan.FromMinutes(5),
KubernetesPublishTests.cs (8)
102await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 173await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 204await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 216await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 220await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 253await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(4)); 268await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 391TimeSpan.FromMinutes(5));
ListStepsTests.cs (4)
45timeout: TimeSpan.FromMinutes(3), 54timeout: TimeSpan.FromMinutes(3), 63timeout: TimeSpan.FromMinutes(3), 72timeout: TimeSpan.FromMinutes(3),
LocalConfigMigrationTests.cs (3)
64await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 140await auto.WaitForSuccessPromptAsync(counter, timeout: TimeSpan.FromMinutes(3)); 162await auto.WaitForAnyPromptAsync(counter, timeout: TimeSpan.FromMinutes(1));
LogLevelTests.cs (1)
46await auto.WaitForSuccessPromptAsync(counter, timeout: TimeSpan.FromMinutes(3));
LogsCommandTests.cs (2)
45await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 83await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1));
NewWithAgentInitTests.cs (1)
125}, timeout: TimeSpan.FromMinutes(5), description: "agent init configuration complete (no provenance errors)");
OllamaIntegrationTests.cs (3)
46await auto.WaitForAspireAddCompletionAsync(counter, TimeSpan.FromMinutes(2)); 81await auto.AspireStartAsync(counter, startTimeout: TimeSpan.FromMinutes(5)); 90await auto.WaitUntilTextAsync("is up (running).", timeout: TimeSpan.FromMinutes(6));
OtelLogsTests.cs (1)
56await auto.WaitUntilTextAsync("is up (running).", timeout: TimeSpan.FromMinutes(6));
PersistentContainerEndToEndTests.cs (4)
141await auto.AspireStartAsync(counter, TimeSpan.FromMinutes(5)); 145await auto.AspireStartAsync(counter, TimeSpan.FromMinutes(5)); 161await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 169await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
PlaywrightCliInstallTests.cs (2)
61await auto.WaitUntilTextAsync("configuration complete", timeout: TimeSpan.FromMinutes(3)); 116await auto.WaitUntilTextAsync("configuration complete", timeout: TimeSpan.FromMinutes(3));
PodmanDeploymentTests.cs (1)
99await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5));
ProjectReferenceTests.cs (2)
40await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 153}, timeout: TimeSpan.FromMinutes(2), description: "waiting for apphost start success or failure");
PsCommandTests.cs (2)
51await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 69await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1));
PythonReactTemplateTests.cs (1)
47await auto.RunCommandAsync("npm run build", counter, TimeSpan.FromMinutes(2));
RadiusDeployTests.cs (4)
142await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 170await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(15)); 181await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(4)); 216await auto.WaitUntilTextAsync("VERIFY_OK", timeout: TimeSpan.FromMinutes(3));
RadiusPublishTests.cs (1)
106await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5));
ResourceCommandTests.cs (8)
58await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 105await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1)); 188await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 206await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1)); 270await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 314await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1)); 370await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 396await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1));
SdkExportTests.cs (1)
67await auto.RunCommandAsync("bash run-sdk-export.sh", counter, TimeSpan.FromMinutes(5));
SecretTypeScriptAppHostTests.cs (1)
38await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2));
SelfUpdateChannelPersistenceTests.cs (3)
45timeout: TimeSpan.FromMinutes(5)); 74timeout: TimeSpan.FromMinutes(10)); 84timeout: TimeSpan.FromMinutes(10));
SingleFileAppHostInitDotnetRunTests.cs (3)
60await auto.WaitUntilTextAsync("Created aspire.config.json", timeout: TimeSpan.FromMinutes(2)); 100timeout: TimeSpan.FromMinutes(1)); 104await auto.WaitForAnyPromptAsync(counter, TimeSpan.FromMinutes(1));
StartStopTests.cs (15)
60await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1)); 66await auto.ExecuteCommandUntilOutputAsync(counter, $"docker network ls --format json | grep -i -- '{projectName}' | wc -l", "0", timeout: TimeSpan.FromMinutes(5)); 154TimeSpan.FromMinutes(1)); 174TimeSpan.FromMinutes(1)); 186TimeSpan.FromMinutes(1)); 287await auto.RunCommandAsync("aspire start --format json > /tmp/aspire-start.json", counter, TimeSpan.FromMinutes(2)); 305await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1)); 347await auto.WaitUntilTextAsync("was added successfully.", timeout: TimeSpan.FromMinutes(3)); 355await auto.WaitForSuccessPromptAsync(counter, timeout: TimeSpan.FromMinutes(1)); 396await auto.WaitUntilTextAsync(AddCommandStrings.SelectAnIntegrationToAdd, timeout: TimeSpan.FromMinutes(1)); 411await auto.WaitUntilTextAsync("was added successfully.", timeout: TimeSpan.FromMinutes(2)); 419await auto.WaitForSuccessPromptAsync(counter, timeout: TimeSpan.FromMinutes(1)); 438TimeSpan.FromMinutes(3)); 447TimeSpan.FromMinutes(3)); 474timeout: TimeSpan.FromMinutes(5),
StopForceTests.cs (5)
65await auto.AspireStartAsync(counter, TimeSpan.FromMinutes(5), skipDashboardCheck: true); 69await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 73await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1)); 74await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 78await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
StopNonInteractiveTests.cs (11)
47await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 62await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1)); 103await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 112await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 121await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1)); 163await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 172await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 186await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1)); 228await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 237await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 262await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1));
TerminalCommandTests.cs (1)
60TimeSpan.FromMinutes(3));
tests\Shared\Hex1bAutomatorTestHelpers.cs (3)
368var effectiveTimeout = timeout ?? TimeSpan.FromMinutes(2); 700}, timeout: TimeSpan.FromMinutes(2), description: "NuGet.config prompt, URLs prompt, agent init prompt, or init completion"); 730var effectiveTimeout = timeout ?? TimeSpan.FromMinutes(5);
tests\Shared\Hex1bTestHelpers.cs (3)
510|| waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 512.WaitUntil(s => waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 514.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2));
TypeScriptBlazorGatewayTests.cs (4)
61TimeSpan.FromMinutes(2)); 70await auto.WaitForAspireAddCompletionAsync(counter, TimeSpan.FromMinutes(2)); 75TimeSpan.FromMinutes(2)); 135TimeSpan.FromMinutes(10));
TypeScriptCodegenValidationTests.cs (17)
50await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 67await auto.WaitForAspireAddSuccessAsync(counter, TimeSpan.FromMinutes(2)); 71await auto.WaitForAspireAddSuccessAsync(counter, TimeSpan.FromMinutes(2)); 76await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3)); 90await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 156await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 161await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3)); 193await auto.WaitUntilTextAsync("The package Aspire.Hosting.", timeout: TimeSpan.FromMinutes(2)); 199await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3)); 249await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 281await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 286await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3)); 321await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 358await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 363await auto.WaitUntilTextAsync("The package Aspire.Hosting.", timeout: TimeSpan.FromMinutes(2)); 368await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3)); 402await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
TypeScriptEmptyAppHostTemplateTests.cs (4)
65await auto.RunCommandAsync("npm run build", counter, TimeSpan.FromMinutes(2)); 96await auto.RunCommandAsync("aspire restore --non-interactive", counter, TimeSpan.FromMinutes(3)); 97await auto.RunCommandAsync("npm run build", counter, TimeSpan.FromMinutes(2)); 99await auto.AspireStartAsync(counter, startTimeout: TimeSpan.FromMinutes(2));
TypeScriptLegacyAppHostTests.cs (4)
55await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 65await auto.WaitForAspireAddSuccessAsync(counter, TimeSpan.FromMinutes(2)); 74await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3)); 84await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
TypeScriptMigrateAppHostTests.cs (5)
55await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 64await auto.WaitForAspireAddSuccessAsync(counter, TimeSpan.FromMinutes(2)); 71await auto.WaitUntilTextAsync("Migrated 'apphost.ts' to 'apphost.mts'", timeout: TimeSpan.FromMinutes(3)); 72await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 80await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
TypeScriptPolyglotApphostDirectoryTests.cs (6)
56await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 68await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 72await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 76await auto.WaitForAspireAddSuccessAsync(counter, TimeSpan.FromMinutes(2)); 98await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 111await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1));
TypeScriptPolyglotTests.cs (19)
58await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 78await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 86await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 93await auto.WaitForAspireAddSuccessAsync(counter, TimeSpan.FromMinutes(2)); 116await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3)); 135await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 150}, timeout: TimeSpan.FromMinutes(3), description: "Press CTRL+C message (aspire run started)"); 181await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 193await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 200await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 204await auto.WaitForAspireAddSuccessAsync(counter, TimeSpan.FromMinutes(2)); 222await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3)); 241await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 267await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 279await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 292timeout: TimeSpan.FromMinutes(2), 349await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 375await auto.WaitUntilTextAsync("Created aspire-apphost/apphost.mts", timeout: TimeSpan.FromMinutes(2)); 462}, timeout: TimeSpan.FromMinutes(3), description: "Press CTRL+C message (aspire run started)");
TypeScriptPublishTests.cs (18)
44await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 49await auto.WaitUntilTextAsync("The package Aspire.Hosting.", timeout: TimeSpan.FromMinutes(2)); 54await auto.WaitUntilTextAsync("The package Aspire.Hosting.", timeout: TimeSpan.FromMinutes(2)); 59await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3)); 88await auto.WaitForSuccessPromptAsync(counter, timeout: TimeSpan.FromMinutes(5)); 120await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 130await auto.WaitForAspireAddSuccessAsync(counter, TimeSpan.FromMinutes(2)); 134await auto.WaitForAspireAddSuccessAsync(counter, TimeSpan.FromMinutes(2)); 145await auto.WaitForSuccessPromptAsync(counter, timeout: TimeSpan.FromMinutes(5)); 220await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 225await auto.WaitUntilTextAsync("The package Aspire.Hosting.", timeout: TimeSpan.FromMinutes(2)); 230await auto.WaitUntilTextAsync("The package Aspire.Hosting.", timeout: TimeSpan.FromMinutes(2)); 235await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3)); 264await auto.WaitForSuccessPromptAsync(counter, timeout: TimeSpan.FromMinutes(5)); 300await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 305await auto.WaitUntilTextAsync("The package Aspire.Hosting.", timeout: TimeSpan.FromMinutes(2)); 310await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3)); 342await auto.WaitForSuccessPromptAsync(counter, timeout: TimeSpan.FromMinutes(5));
TypeScriptReusablePackageTests.cs (5)
49await auto.WaitUntilTextAsync("The package Aspire.Hosting.", timeout: TimeSpan.FromMinutes(2)); 66await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3)); 75await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 83await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3)); 88await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
TypeScriptSqlServerNativeAssetsBundleTests.cs (4)
41await auto.WaitUntilTextAsync("Created apphost.mts", timeout: TimeSpan.FromMinutes(2)); 46await auto.WaitUntilTextAsync("The package Aspire.Hosting.", timeout: TimeSpan.FromMinutes(2)); 51await auto.WaitUntilTextAsync("SDK code restored successfully", timeout: TimeSpan.FromMinutes(3)); 67await auto.AspireStartAsync(counter, TimeSpan.FromMinutes(4));
TypeScriptStarterSmokeTests.cs (1)
86await auto.RunCommandAsync("npm run build", counter, TimeSpan.FromMinutes(2));
TypeScriptStarterTemplateTests.cs (1)
57await auto.RunCommandAsync("npm run build", counter, TimeSpan.FromMinutes(2));
UpdateChannelNuGetConfigOrderingTests.cs (4)
92await auto.WaitUntilTextAsync("Created aspire.config.json", timeout: TimeSpan.FromMinutes(2)); 149await auto.WaitUntilTextAsync("Perform updates?", timeout: TimeSpan.FromMinutes(2)); 154await auto.WaitUntilTextAsync("Apply these changes to NuGet.config?", timeout: TimeSpan.FromMinutes(1)); 161await auto.WaitUntilTextAsync("Update successful!", timeout: TimeSpan.FromMinutes(3));
WaitCommandTests.cs (3)
49await auto.WaitUntilTextAsync(RunCommandStrings.AppHostStartedSuccessfully, timeout: TimeSpan.FromMinutes(3)); 56await auto.WaitUntilTextAsync("is up (running).", timeout: TimeSpan.FromMinutes(6)); 62await auto.WaitUntilAppHostStoppedSuccessfullyAsync(timeout: TimeSpan.FromMinutes(1));
Aspire.Cli.Tests (6)
ConsoleCancellationManagerTests.cs (1)
222await Task.Delay(TimeSpan.FromMinutes(5), gracefulToken);
Telemetry\InternalMicrosoftDetectorTests.cs (3)
149await Task.Delay(TimeSpan.FromMinutes(5), cancellationToken); 192await Task.Delay(TimeSpan.FromMinutes(5), cancellationToken); 475await Task.Delay(TimeSpan.FromMinutes(1), cancellationToken);
tests\Shared\TestProcesses.cs (1)
21private static readonly TimeSpan s_maxLifetime = TimeSpan.FromMinutes(5);
Utils\CliPathHelperTests.cs (1)
405File.SetLastWriteTimeUtc(freshFile, fakeTime.GetUtcNow().UtcDateTime - TimeSpan.FromMinutes(5));
Aspire.Deployment.EndToEnd.Tests (307)
AcaCompactNamingDeploymentTests.cs (5)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 146await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 147await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 294await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 295await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
AcaCompactNamingUpgradeDeploymentTests.cs (12)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(60); 150}, timeout: TimeSpan.FromMinutes(2), description: "language prompt, template version prompt, agent init prompt, or init success prompt"); 177}, timeout: TimeSpan.FromMinutes(2), description: "template version prompt, agent init prompt, or init success prompt"); 199}, timeout: TimeSpan.FromMinutes(2), description: "agent init prompt or init success prompt"); 256await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 257await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 315await auto.WaitUntilTextAsync("Perform updates?", timeout: TimeSpan.FromMinutes(2)); 317await auto.WaitUntilTextAsync("NuGet.config file?", timeout: TimeSpan.FromMinutes(2)); 319await auto.WaitUntilTextAsync("Apply these changes", timeout: TimeSpan.FromMinutes(2)); 321await auto.WaitUntilTextAsync("Update successful", timeout: TimeSpan.FromMinutes(2)); 341await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 342await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5));
AcaCustomRegistryDeploymentTests.cs (4)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45); 141await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(35)); 142await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 166await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5));
AcaDeploymentErrorOutputTests.cs (3)
21private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 124await auto.WaitUntilTextAsync(ConsoleActivityLoggerStrings.PipelineFailed, timeout: TimeSpan.FromMinutes(30)); 125await auto.WaitForAnyPromptAsync(counter, TimeSpan.FromMinutes(2));
AcaExistingRegistryDeploymentTests.cs (5)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45); 103await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 176await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(35)); 177await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 200await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5));
AcaManagedRedisDeploymentTests.cs (6)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 83await auto.RunCommandAsync("az provider register --namespace Microsoft.Cache --wait", counter, TimeSpan.FromMinutes(5)); 176await auto.WaitForPipelineSuccessAsync(TimeSpan.FromMinutes(35)); 178await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 202TimeSpan.FromMinutes(5)); 220TimeSpan.FromMinutes(5));
AcaStarterDeploymentTests.cs (4)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 143await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 144await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 169await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5));
AcrPurgeTaskDeploymentTests.cs (6)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 140await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 141await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 178await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 179await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 202await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5));
AksAzureKubernetesEnvironmentCertManagerDeploymentTests.cs (11)
29private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(75); 199await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(40)); 200await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 212await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(6)); 233await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 254await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(16)); 269await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(11)); 292await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 306await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(4)); 318await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(20)); 319await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
AksAzureKubernetesEnvironmentCertManagerTypeScriptDeploymentTests.cs (12)
32private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(75); 213await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(40)); 214await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 226await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(6)); 244await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 262await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 272await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(16)); 285await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(11)); 306await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 322await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(4)); 334await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(20)); 335await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
AksAzureKubernetesEnvironmentGatewayDeploymentTests.cs (6)
23private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(60); 198await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(35)); 199await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 213await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(6)); 236await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(16)); 252await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(4));
AksBlazorRedisDeploymentTests.cs (4)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45); 145await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 146await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 159await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(6));
AksMultipleNodePoolsDeploymentTests.cs (5)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45); 150await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 151await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 164await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(6)); 172await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(6));
AksPersistentVolumeDeploymentTests.cs (14)
14private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(60); 89TimeSpan.FromMinutes(5)); 109TimeSpan.FromMinutes(2)); 113TimeSpan.FromMinutes(2)); 119TimeSpan.FromMinutes(2)); 149TimeSpan.FromMinutes(11)); 153TimeSpan.FromMinutes(6)); 331TimeSpan.FromMinutes(2)); 342TimeSpan.FromMinutes(6)); 346TimeSpan.FromMinutes(6)); 382await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 383await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 390await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(30)); 431TimeSpan.FromMinutes(3));
AksStarterDeploymentTests.cs (11)
16private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45); 93await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 105await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 128await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(20)); 135await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 232await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 240await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 251await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(10)); 265await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 274await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(12)); 281await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(6));
AksStarterWithRedisHelmDeploymentTests.cs (11)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45); 95await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 107await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 129await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(20)); 136await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 232await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 240await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 251await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(10)); 265await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 282await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(12)); 291await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(16));
AksVnetInfraDeploymentTests.cs (3)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45); 138await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 139await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
AksVnetWithAzureResourcesDeploymentTests.cs (4)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45); 237await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 238await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 251await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(6));
AksWithAzureResourcesDeploymentTests.cs (4)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45); 225await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 226await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 239await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(6));
AksWithHelmChartDeploymentTests.cs (6)
24private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45); 156await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 157await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 170await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(6)); 185await auto.WaitUntilTextAsync("VERIFY_OK", timeout: TimeSpan.FromMinutes(3)); 229await auto.WaitUntilTextAsync("VERIFY_OK", timeout: TimeSpan.FromMinutes(2));
AppServicePythonDeploymentTests.cs (4)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 145await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 146await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 171await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5));
AppServiceReactDeploymentTests.cs (8)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(85); 164await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 165await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 198await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 199await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 210await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(7)); 374await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 410await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3));
AppServiceStoragePrivateEndpointDeploymentTests.cs (5)
15private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(55); 212await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(35)); 213await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 219TimeSpan.FromMinutes(4)); 225TimeSpan.FromMinutes(8));
AzureAppConfigDeploymentTests.cs (3)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 132await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(20)); 133await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
AzureContainerRegistryDeploymentTests.cs (3)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 115await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(20)); 116await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
AzureEventHubsDeploymentTests.cs (3)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 132await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(20)); 133await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
AzureKeyVaultDeploymentTests.cs (3)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 132await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(20)); 133await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
AzureLogAnalyticsDeploymentTests.cs (3)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 115await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(20)); 116await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
AzureResourceScopeDeploymentTests.cs (4)
15private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 84await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(10)); 127await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(25)); 128await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
AzureRoleAssignmentRunModeTests.cs (6)
28private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 170await auto.RunCommandAsync("aspire start --non-interactive --format Json", counter, TimeSpan.FromMinutes(20)); 177await auto.RunCommandAsync("aspire wait storage-roles --status up --timeout 1500 --non-interactive", counter, TimeSpan.FromMinutes(26)); 183await auto.RunCommandAsync("aspire wait storage --status up --timeout 1500 --non-interactive", counter, TimeSpan.FromMinutes(26)); 190await auto.RunCommandAsync($"az deployment group show --subscription {subscriptionId} --resource-group {resourceGroupName} --name storage-roles -o json > roles-deployment.json", counter, TimeSpan.FromMinutes(2)); 191await auto.RunCommandAsync($"az account show --subscription {subscriptionId} -o json > az-account.json", counter, TimeSpan.FromMinutes(1));
AzureServiceBusDeploymentTests.cs (3)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 134await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(20)); 135await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
AzureStorageDeploymentTests.cs (5)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 148await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(20)); 149await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 312await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(25)); 313await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
AzureStorageRunModeTests.cs (7)
16private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(30); 153await auto.RunCommandAsync("aspire start --non-interactive --format Json", counter, TimeSpan.FromMinutes(20)); 158await auto.RunCommandAsync("aspire wait storage --status up --timeout 1500 --non-interactive", counter, TimeSpan.FromMinutes(26)); 161await auto.RunCommandAsync("aspire resource storage get-azure-resource --non-interactive > get-resource.json", counter, TimeSpan.FromMinutes(2)); 165await auto.RunCommandAsync("az resource show --ids \"$(cat storage-resource-id.txt)\" --query \"properties.provisioningState\" -o tsv | grep '^Succeeded$'", counter, TimeSpan.FromMinutes(1)); 166await auto.RunCommandAsync("az resource show --ids \"$(cat storage-deployment-id.txt)\" --query \"properties.provisioningState\" -o tsv | grep '^Succeeded$'", counter, TimeSpan.FromMinutes(1)); 169await auto.RunCommandAsync("aspire resource azure-environment delete-azure-resources --non-interactive", counter, TimeSpan.FromMinutes(10));
FoundryHostedAgentDeploymentTests.cs (4)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45); 275await auto.WaitUntilTextAsync(ConsoleActivityLoggerStrings.PipelineSucceeded, timeout: TimeSpan.FromMinutes(35)); 276await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 289await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
FrontDoorDeploymentTests.cs (6)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 102await auto.WaitForAspireAddCompletionAsync(counter, TimeSpan.FromMinutes(3)); 107await auto.WaitForAspireAddCompletionAsync(counter, TimeSpan.FromMinutes(3)); 151await auto.WaitUntilTextAsync(ConsoleActivityLoggerStrings.PipelineSucceeded, timeout: TimeSpan.FromMinutes(30)); 152await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 192await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(15));
Helpers\DeploymentE2EAutomatorHelpers.cs (2)
170timeout ??= TimeSpan.FromMinutes(5); 174await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
Helpers\DeploymentE2ETestHelpers.cs (1)
162using var timeout = new CancellationTokenSource(TimeSpan.FromMinutes(2));
KubernetesGatewayTlsDeploymentTests.cs (14)
23private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(60); 102await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 109await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 125await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 151await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(20)); 171await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(10)); 204await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(6)); 213await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 346await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(15)); 347await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 355await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(6)); 368await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 387await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(12)); 400await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
KubernetesHelmChartDeploymentTests.cs (8)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45); 93await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 103await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 121await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(20)); 212await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(15)); 213await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 220await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(6)); 235await auto.WaitUntilTextAsync("VERIFY_OK", timeout: TimeSpan.FromMinutes(3));
NspStorageKeyVaultDeploymentTests.cs (4)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 264await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 265await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 304await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(8));
PythonFastApiDeploymentTests.cs (4)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 148await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 149await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 173await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5));
RadiusAzureResourcesDeploymentTests.cs (4)
39using var cts = new CancellationTokenSource(TimeSpan.FromMinutes(8)); 65await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 69await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 130timeout: TimeSpan.FromMinutes(3),
RadiusStarterDeploymentTests.cs (18)
30private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(55); 164await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 213await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 223await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 249await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(20)); 254await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 278await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(10)); 291await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 414await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 422await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 436await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 455await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(3)); 473await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(17)); 489await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 498await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 502await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 508await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(6)); 650using var waitCts = new CancellationTokenSource(TimeSpan.FromMinutes(2));
tests\Shared\Hex1bAutomatorTestHelpers.cs (3)
368var effectiveTimeout = timeout ?? TimeSpan.FromMinutes(2); 700}, timeout: TimeSpan.FromMinutes(2), description: "NuGet.config prompt, URLs prompt, agent init prompt, or init completion"); 730var effectiveTimeout = timeout ?? TimeSpan.FromMinutes(5);
tests\Shared\Hex1bTestHelpers.cs (3)
510|| waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 512.WaitUntil(s => waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2)) 514.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2));
TypeScriptAzureContainerAppJobDeploymentTests.cs (6)
15private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(35); 66await auto.RunCommandAsync("aspire init --language typescript --non-interactive", counter, TimeSpan.FromMinutes(2)); 75await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(25)); 76await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 78await auto.RunCommandAsync(BuildJobVerificationCommand(resourceGroupName), counter, TimeSpan.FromMinutes(5)); 116await auto.WaitForAspireAddCompletionAsync(counter, TimeSpan.FromMinutes(3));
TypeScriptExpressDeploymentTests.cs (4)
16private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 139await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 140await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 162await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5));
TypeScriptJavaScriptHostingDeploymentTests.cs (6)
15private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 66await auto.RunCommandAsync("aspire init --language typescript --non-interactive", counter, TimeSpan.FromMinutes(2)); 77await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 78await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 80await auto.RunCommandAsync(BuildEndpointVerificationCommand(resourceGroupName), counter, TimeSpan.FromMinutes(10)); 118await auto.WaitForAspireAddCompletionAsync(counter, TimeSpan.FromMinutes(3));
TypeScriptVnetSqlServerInfraDeploymentTests.cs (5)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 107}, timeout: TimeSpan.FromMinutes(2), description: "template version prompt, agent init prompt, or init success prompt"); 122}, timeout: TimeSpan.FromMinutes(2), description: "agent init prompt or init success prompt"); 221await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(25)); 222await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
VnetKeyVaultConnectivityDeploymentTests.cs (4)
16private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 188await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 189await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 216await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5));
VnetKeyVaultInfraDeploymentTests.cs (3)
16private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 141await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(25)); 142await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
VnetSqlServerConnectivityDeploymentTests.cs (5)
21private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(50); 234await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 235await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 262await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5)); 283await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(8));
VnetSqlServerInfraDeploymentTests.cs (3)
16private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 142await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(25)); 143await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
VnetStorageBlobConnectivityDeploymentTests.cs (4)
16private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 195await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(30)); 196await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2)); 223await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(5));
VnetStorageBlobInfraDeploymentTests.cs (3)
16private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(40); 143await auto.WaitForPipelineSuccessAsync(timeout: TimeSpan.FromMinutes(25)); 144await auto.WaitForSuccessPromptAsync(counter, TimeSpan.FromMinutes(2));
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
433return 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));
Aspire.TestTools (1)
GitHubCli.cs (1)
230private static readonly TimeSpan s_defaultProcessTimeout = TimeSpan.FromMinutes(5);
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 (1)
Commands\Test\MTP\TestApplication.cs (1)
32private static readonly TimeSpan DefaultArtifactPostProcessingTimeout = TimeSpan.FromMinutes(15);
dotnet-dev-certs (1)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
272TimeSpan MaxRegexTimeout = TimeSpan.FromMinutes(1);
dotnet-getdocument (1)
Exe.cs (1)
52if (!process.WaitForExit((int)(TimeSpan.FromMinutes(2).TotalMilliseconds)))
GetDocument.Insider (2)
Commands\GetDocumentCommandWorker.cs (1)
373var finished = resultTask.Wait(TimeSpan.FromMinutes(1));
src\ab038811704af8d7\HostFactoryResolver.cs (1)
38return TimeSpan.FromMinutes(5);
HelixTestTasks (1)
ComputeBatchTimeout.cs (1)
97var ts = TimeSpan.FromMinutes(totalMinutes);
Infrastructure.Tests (30)
CreateFailingTestIssue\CreateFailingTestIssueFixture.cs (1)
48using var cancellationTokenSource = new CancellationTokenSource(TimeSpan.FromMinutes(3));
CreateFailingTestIssue\CreateFailingTestIssueToolTests.cs (1)
653using var cancellationTokenSource = new CancellationTokenSource(TimeSpan.FromMinutes(2));
DownloadFailingJobLogs\DownloadFailingJobLogsToolTests.cs (1)
109using var cancellationTokenSource = new CancellationTokenSource(TimeSpan.FromMinutes(2));
ExtractTestPartitions\ExtractTestPartitionsFixture.cs (1)
38using var cts = new CancellationTokenSource(TimeSpan.FromMinutes(3));
ExtractTestPartitions\ExtractTestPartitionsTests.cs (1)
339using var cts = new CancellationTokenSource(TimeSpan.FromMinutes(2));
GenerateTestSummary\GenerateTestSummaryFixture.cs (1)
41using var cancellationTokenSource = new CancellationTokenSource(TimeSpan.FromMinutes(3));
GenerateTestSummary\GenerateTestSummaryToolTests.cs (1)
270using var cancellationTokenSource = new CancellationTokenSource(TimeSpan.FromMinutes(2));
Pipelines\ExtensionE2eRecorderStepTests.cs (1)
74.WithTimeout(TimeSpan.FromMinutes(2));
Pipelines\NpmCliPackageTests.cs (1)
580.WithTimeout(TimeSpan.FromMinutes(2));
PowerShellScripts\AspireSkillsBundleHashTests.cs (1)
142using var cmd = new PowerShellCommand(driverPath, _output).WithTimeout(TimeSpan.FromMinutes(1));
PowerShellScripts\BuildTestMatrixTests.cs (1)
737.WithTimeout(TimeSpan.FromMinutes(2));
PowerShellScripts\DownloadNativeArchivesTests.cs (1)
390.WithTimeout(TimeSpan.FromMinutes(2));
PowerShellScripts\ExpandTestMatrixGitHubTests.cs (3)
551.WithTimeout(TimeSpan.FromMinutes(2)); 568.WithTimeout(TimeSpan.FromMinutes(2)) 622.WithTimeout(TimeSpan.FromMinutes(2));
PowerShellScripts\SplitTestMatrixByDepsTests.cs (3)
223.WithTimeout(TimeSpan.FromMinutes(2)) 238.WithTimeout(TimeSpan.FromMinutes(2)) 254.WithTimeout(TimeSpan.FromMinutes(2))
PowerShellScripts\SplitTestProjectsTests.cs (1)
188.WithTimeout(TimeSpan.FromMinutes(3));
PowerShellScripts\StageNativeCliToolPackagesTests.cs (1)
289.WithTimeout(TimeSpan.FromMinutes(2));
PowerShellScripts\TrustedExtensionReleasePrTests.cs (1)
242.WithTimeout(TimeSpan.FromMinutes(1))
PowerShellScripts\ValidateNpmPackageSignaturesTests.cs (1)
205.WithTimeout(TimeSpan.FromMinutes(1));
PowerShellScripts\ValidateNpmReleaseAliasesTests.cs (1)
180.WithTimeout(TimeSpan.FromMinutes(2))
PowerShellScripts\WriteClassModeTestPropsTests.cs (1)
117.WithTimeout(TimeSpan.FromMinutes(1));
WorkflowScripts\AutoRerunTransientCiFailuresTests.cs (1)
2231command.WithWorkingDirectory(_repoRoot).WithTimeout(TimeSpan.FromMinutes(1));
WorkflowScripts\ExtensionReleaseWorkflowTests.cs (4)
613using var timeout = new CancellationTokenSource(TimeSpan.FromMinutes(1)); 665using var timeout = new CancellationTokenSource(TimeSpan.FromMinutes(1)); 781using var timeout = new CancellationTokenSource(TimeSpan.FromMinutes(1)); 847using var timeout = new CancellationTokenSource(TimeSpan.FromMinutes(1));
WorkflowScripts\PrDocsCheckWorkflowTests.cs (1)
195using var timeout = new CancellationTokenSource(TimeSpan.FromMinutes(2));
Microsoft.AspNetCore.Authentication (1)
RemoteAuthenticationOptions.cs (1)
117public TimeSpan RemoteAuthenticationTimeout { get; set; } = TimeSpan.FromMinutes(15);
Microsoft.AspNetCore.Authentication.Certificate (2)
CertificateValidationCache.cs (1)
66var absoluteExpiration = _timeProvider.GetUtcNow().Add(TimeSpan.FromMinutes(30));
CertificateValidationCacheOptions.cs (1)
16public TimeSpan CacheEntryExpiration { get; set; } = TimeSpan.FromMinutes(2);
Microsoft.AspNetCore.Authentication.DeviceBoundSessions (2)
DeviceBoundSessionOptions.cs (2)
76public TimeSpan ShortLivedCookieExpiration { get; set; } = TimeSpan.FromMinutes(10); 82public TimeSpan ChallengeMaxAge { get; set; } = TimeSpan.FromMinutes(5);
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.Components.Endpoints (2)
DependencyInjection\RazorComponentsServiceOptions.cs (1)
16private TimeSpan _temporaryRedirectionUrlValidityDuration = TimeSpan.FromMinutes(5);
src\aspnetcore\src\Shared\Components\ServerComponentSerializationSettings.cs (1)
48public static readonly TimeSpan DataExpiration = TimeSpan.FromMinutes(5);
Microsoft.AspNetCore.Components.Server (3)
CircuitOptions.cs (2)
50public TimeSpan DisconnectedCircuitRetentionPeriod { get; set; } = TimeSpan.FromMinutes(3); 108public TimeSpan JSInteropDefaultCallTimeout { get; set; } = TimeSpan.FromMinutes(1);
src\aspnetcore\src\Shared\Components\ServerComponentSerializationSettings.cs (1)
48public static readonly TimeSpan DataExpiration = TimeSpan.FromMinutes(5);
Microsoft.AspNetCore.Components.Server.AutoPause (1)
AutoPauseBrowserOptions.cs (1)
29public TimeSpan HiddenDelay { get; set; } = TimeSpan.FromMinutes(2);
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.DeveloperCertificates.XPlat (1)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
272TimeSpan MaxRegexTimeout = 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.Mvc.Razor (1)
RazorViewEngine.cs (1)
37private static readonly TimeSpan _cacheExpirationDuration = TimeSpan.FromMinutes(20);
Microsoft.AspNetCore.Mvc.Testing (1)
src\ab038811704af8d7\HostFactoryResolver.cs (1)
38return TimeSpan.FromMinutes(5);
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.Rewrite (1)
ApacheModRewrite\CookieActionFactory.cs (1)
88action!.Lifetime = TimeSpan.FromMinutes(minutes);
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\aspnetcore\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.Kestrel.Core (1)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
272TimeSpan MaxRegexTimeout = 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.SignalR.Client.Core (1)
AuthenticationRefreshOptions.cs (1)
42} = TimeSpan.FromMinutes(5);
Microsoft.AspNetCore.TestHost (1)
src\ab038811704af8d7\HostFactoryResolver.cs (1)
38return TimeSpan.FromMinutes(5);
Microsoft.AspNetCore.WebSockets (1)
WebSocketOptions.cs (1)
18KeepAliveInterval = TimeSpan.FromMinutes(2);
Microsoft.CodeAnalysis.CSharp (1)
CommandLine\CSharpCommandLineParser.cs (1)
295var timeout = TimeSpan.FromMinutes(2);
Microsoft.CodeAnalysis.Workspaces (1)
Telemetry\TelemetryLogging.cs (1)
140await Task.Delay(TimeSpan.FromMinutes(30), cancellationToken).ConfigureAwait(false);
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (5)
CacheEntryTests.cs (4)
24expiration: DateTime.UtcNow.Add(TimeSpan.FromMinutes(5))); 44expiration: DateTime.UtcNow.Add(TimeSpan.FromMinutes(5))); 64expiration: DateTime.UtcNow.Add(TimeSpan.FromMinutes(5))); 85expiration: DateTime.UtcNow.Add(TimeSpan.FromMinutes(5)));
ScenarioRunResultTests.cs (1)
333expiration: DateTime.UtcNow.Add(TimeSpan.FromMinutes(5)));
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.cs (1)
121_defaultExpiration = defaultEntryOptions?.Expiration ?? TimeSpan.FromMinutes(DefaultExpirationMinutes);
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.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.Diagnostics.Probes.Tests (2)
TcpEndpointProbesServiceTests.cs (2)
47timeProvider.Advance(TimeSpan.FromMinutes(1)); 56timeProvider.Advance(TimeSpan.FromMinutes(1));
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.ML.PerformanceTests (2)
BenchmarkBase.cs (1)
52TestDownloadUtils.DownloadFile(url, filePath, TimeSpan.FromMinutes(10));
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.TensorFlow.Tests (1)
TensorflowTests.cs (1)
1972TestDownloadUtils.DownloadFile(url, relativeFilePath, TimeSpan.FromMinutes(3));
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) })
Microsoft.NET.Build.Containers (1)
Registry\DefaultRegistryAPI.cs (1)
22private static TimeSpan LongRequestTimeout = TimeSpan.FromMinutes(30);
Microsoft.NET.Sdk.Publish.Tasks (2)
Tasks\OneDeploy\OneDeployStatusService.cs (1)
11private static readonly TimeSpan s_maximumWaitForResult = TimeSpan.FromMinutes(3);
Tasks\ZipDeploy\ZipDeploymentStatus.cs (1)
34var tokenSource = new CancellationTokenSource(TimeSpan.FromMinutes(MaxMinutesToWait));
Microsoft.TestPlatform.Extensions.BlameDataCollector (2)
BlameCollector.cs (1)
60private TimeSpan _inactivityTimespan = TimeSpan.FromMinutes(DefaultInactivityTimeInMinutes);
NetClientHangDumper.cs (1)
60timeout.CancelAfter(TimeSpan.FromMinutes(5));
Microsoft.TestPlatform.PlatformAbstractions (1)
common\Tracing\RollingFileTraceListener.cs (1)
140private readonly long _failedRollTimeout = TimeSpan.FromMinutes(1).Ticks;
NuGet.Common (1)
Migrations\MigrationRunner.cs (1)
77captured = mutex.WaitOne(TimeSpan.FromMinutes(1), false);
NuGet.PackageManagement (2)
NuGetPackageManager.cs (1)
2058using var tokenSource = new CancellationTokenSource(TimeSpan.FromMinutes(5));
PackageManagementConstants.cs (1)
19public static readonly TimeSpan DefaultRequestTimeout = TimeSpan.FromMinutes(15);
NuGet.Protocol (4)
LegacyFeed\ODataServiceDocumentResourceV2Provider.cs (1)
15private static readonly TimeSpan _defaultCacheDuration = TimeSpan.FromMinutes(40);
Plugins\PluginConstants.cs (1)
22public static readonly TimeSpan IdleTimeout = TimeSpan.FromMinutes(1);
Providers\ServiceIndexResourceV3Provider.cs (1)
28private static readonly TimeSpan DefaultCacheDuration = TimeSpan.FromMinutes(40);
SourceCacheContext.cs (1)
25private static readonly TimeSpan DefaultMaxAge = TimeSpan.FromMinutes(30);
PresentationCore (1)
MS\Internal\Automation\ElementUtil.cs (1)
190TimeSpan.FromMinutes(3),
RepoTasks (1)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
272TimeSpan MaxRegexTimeout = TimeSpan.FromMinutes(1);
rzc (1)
RequestDispatcher.cs (1)
11public static readonly TimeSpan DefaultServerKeepAlive = TimeSpan.FromMinutes(10);
System.Configuration.ConfigurationManager (1)
System\Configuration\TimeSpanMinutesConverter.cs (1)
22return TimeSpan.FromMinutes(min);
System.Net.Http (1)
src\runtime\src\libraries\Common\src\System\Net\Http\HttpHandlerDefaults.cs (1)
29public static readonly TimeSpan DefaultPooledConnectionIdleTimeout = TimeSpan.FromMinutes(1);
System.Net.Http.WinHttpHandler (1)
src\runtime\src\libraries\Common\src\System\Net\Http\HttpHandlerDefaults.cs (1)
29public static readonly TimeSpan DefaultPooledConnectionIdleTimeout = TimeSpan.FromMinutes(1);
System.Net.Requests (1)
src\runtime\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.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)
273return 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\TransactionManager.cs (2)
281private static long s_defaultTimeoutTicks = TimeSpan.FromMinutes(1).Ticks; 325private static long s_maximumTimeoutTicks = TimeSpan.FromMinutes(10).Ticks;
UnitTests.Common (2)
TestData.cs (2)
24{ TimeSpan.FromMinutes(1)}, 36{ TimeSpan.FromMinutes(-1)},
VBCSCompiler (1)
src\roslyn\src\Compilers\Server\VBCSCompiler\ServerDispatcher.cs (1)
46internal static readonly TimeSpan DefaultServerKeepAlive = TimeSpan.FromMinutes(10);