803 references to FromMinutes
aspire (5)
Commands\RenderCommand.cs (2)
528new("root", "Full pipeline", ConsoleActivityLogger.ActivityState.Success, TimeSpan.FromMinutes(3), null, null, 0, 1, TimeSpan.Zero, TimeSpan.FromMinutes(3)),
Aspire.Cli.EndToEnd.Tests (291)
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));
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),
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));
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));
Aspire.Cli.Tests (6)
Aspire.Deployment.EndToEnd.Tests (307)
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));
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));
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));
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));
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));
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));
Aspire.Hosting.Testing (1)
Aspire.RabbitMQ.Client.Tests (1)
Aspire.RabbitMQ.Client.v6.Tests (1)
Aspire.TestTools (1)
Binding.Http.IntegrationTests (2)
Binding.Tcp.IntegrationTests (1)
dotnet (1)
dotnet-dev-certs (1)
dotnet-getdocument (1)
GetDocument.Insider (2)
HelixTestTasks (1)
Infrastructure.Tests (30)
Microsoft.AspNetCore.Authentication (1)
Microsoft.AspNetCore.Authentication.Certificate (2)
Microsoft.AspNetCore.Authentication.DeviceBoundSessions (2)
Microsoft.AspNetCore.Authentication.JwtBearer (1)
Microsoft.AspNetCore.Authentication.Negotiate (3)
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
Microsoft.AspNetCore.Components.Endpoints (2)
Microsoft.AspNetCore.Components.Server (3)
Microsoft.AspNetCore.Components.Server.AutoPause (1)
Microsoft.AspNetCore.DataProtection (2)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
Microsoft.AspNetCore.Identity (6)
Microsoft.AspNetCore.Mvc.Razor (1)
Microsoft.AspNetCore.Mvc.Testing (1)
Microsoft.AspNetCore.OutputCaching (1)
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (1)
Microsoft.AspNetCore.Rewrite (1)
Microsoft.AspNetCore.Server.IntegrationTesting (5)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.AspNetCore.Session (2)
Microsoft.AspNetCore.SignalR.Client.Core (1)
Microsoft.AspNetCore.TestHost (1)
Microsoft.AspNetCore.WebSockets (1)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (5)
Microsoft.Extensions.Caching.Hybrid (1)
Microsoft.Extensions.Caching.Hybrid.Tests (23)
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));
Microsoft.Extensions.Caching.Memory (1)
Microsoft.Extensions.Caching.SqlServer (3)
Microsoft.Extensions.Diagnostics.Probes.Tests (2)
Microsoft.Extensions.Http (1)
Microsoft.Extensions.Identity.Core (2)
Microsoft.Extensions.ServiceDiscovery.Dns (2)
Microsoft.ML.PerformanceTests (2)
Microsoft.ML.TensorFlow.Tests (1)
Microsoft.ML.TestFrameworkCommon (1)
Microsoft.ML.Tokenizers.Data.Tests (1)
Microsoft.ML.Tokenizers.Tests (2)
Microsoft.NET.Build.Containers (1)
Microsoft.NET.Sdk.Publish.Tasks (2)
Microsoft.TestPlatform.Extensions.BlameDataCollector (2)
Microsoft.TestPlatform.PlatformAbstractions (1)
NuGet.Common (1)
NuGet.PackageManagement (2)
NuGet.Protocol (4)
PresentationCore (1)
RepoTasks (1)
rzc (1)
System.Configuration.ConfigurationManager (1)
System.Net.Http (1)
System.Net.Http.WinHttpHandler (1)
System.Net.Requests (1)
System.Net.Security (1)
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);
System.ServiceModel.NetNamedPipe (3)
System.ServiceModel.NetTcp (2)
System.ServiceModel.Primitives (5)
System.ServiceModel.Primitives.Tests (2)
System.ServiceModel.Syndication (1)
System.ServiceModel.UnixDomainSocket (2)
System.Transactions.Local (2)
UnitTests.Common (2)
VBCSCompiler (1)