594 references to FromMinutes
aspire (2)
Aspire.Cli.EndToEnd.Tests (54)
StopNonInteractiveTests.cs (11)
99.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3))
108.WaitUntil(s => waitForAppHostStoppedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(1))
229.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3))
238.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3))
247.WaitUntil(s => waitForAppHostStoppedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(1))
368.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3))
377.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3))
391.WaitUntil(s => waitForAppHostStoppedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(1))
517.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3))
526.WaitUntil(s => waitForAppHostStartedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(3))
549.WaitUntil(s => waitForAppHostStoppedSuccessfully.Search(s).Count > 0, TimeSpan.FromMinutes(1))
Aspire.Deployment.EndToEnd.Tests (163)
AcaCompactNamingUpgradeDeploymentTests.cs (19)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(60);
123.WaitUntil(s => waitingForInitComplete.Search(s).Count > 0, TimeSpan.FromMinutes(2))
124.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(2));
168.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(30))
169.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
209.WaitUntil(s => waitingForPerformUpdates.Search(s).Count > 0, TimeSpan.FromMinutes(2))
211.WaitUntil(s => waitingForNugetConfigDir.Search(s).Count > 0, TimeSpan.FromMinutes(2))
213.WaitUntil(s => waitingForApplyNugetConfig.Search(s).Count > 0, TimeSpan.FromMinutes(2))
215.WaitUntil(s => waitingForUpdateSuccessful.Search(s).Count > 0, TimeSpan.FromMinutes(2))
232.WaitUntil(s => waitingForPerformUpdates.Search(s).Count > 0, TimeSpan.FromMinutes(2))
234.WaitUntil(s => waitingForNugetConfigDir.Search(s).Count > 0, TimeSpan.FromMinutes(2))
236.WaitUntil(s => waitingForApplyNugetConfig.Search(s).Count > 0, TimeSpan.FromMinutes(2))
238.WaitUntil(s => waitingForUpdateSuccessful.Search(s).Count > 0, TimeSpan.FromMinutes(2))
247.WaitUntil(s => waitingForPerformUpdates.Search(s).Count > 0, TimeSpan.FromMinutes(2))
249.WaitUntil(s => waitingForNugetConfigDir.Search(s).Count > 0, TimeSpan.FromMinutes(2))
251.WaitUntil(s => waitingForApplyNugetConfig.Search(s).Count > 0, TimeSpan.FromMinutes(2))
253.WaitUntil(s => waitingForUpdateSuccessful.Search(s).Count > 0, TimeSpan.FromMinutes(2))
276.WaitUntil(s => waitingForPipelineSucceeded.Search(s).Count > 0, TimeSpan.FromMinutes(30))
277.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
AksStarterDeploymentTests.cs (12)
17private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45);
118.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
132.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(3));
157.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(20));
165.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
215.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
299.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
308.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
321.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(10));
337.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(3));
347.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(12));
355.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(6));
AksStarterWithRedisDeploymentTests.cs (12)
18private static readonly TimeSpan s_testTimeout = TimeSpan.FromMinutes(45);
119.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
133.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(3));
157.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(20));
165.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
214.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
297.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
306.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(5));
319.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(10));
335.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(3));
353.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(12));
363.WaitForSuccessPrompt(counter, TimeSpan.FromMinutes(16));
Aspire.Hosting.Testing (1)
Aspire.RabbitMQ.Client.Tests (1)
Aspire.RabbitMQ.Client.v6.Tests (1)
Binding.Http.IntegrationTests (2)
Binding.Tcp.IntegrationTests (1)
dotnet-dev-certs (1)
dotnet-getdocument (1)
GetDocument.Insider (2)
.packages\microsoft.extensions.hostfactoryresolver.sources\11.0.0-preview.3.26153.117\contentFiles\cs\netstandard2.0\HostFactoryResolver.cs (1)
38return TimeSpan.FromMinutes(5);
HelixTestRunner (7)
IIS.Common.TestLib (2)
IIS.FunctionalTests (2)
IISExpress.FunctionalTests (2)
InMemory.FunctionalTests (2)
InProcessWebSite (1)
Interop.FunctionalTests (1)
InteropTests (2)
Microsoft.AspNetCore.Authentication (1)
Microsoft.AspNetCore.Authentication.Certificate (2)
Microsoft.AspNetCore.Authentication.JwtBearer (1)
Microsoft.AspNetCore.Authentication.Negotiate (3)
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
Microsoft.AspNetCore.Authentication.Test (55)
Microsoft.AspNetCore.Components.Endpoints (2)
Microsoft.AspNetCore.Components.Server (3)
Microsoft.AspNetCore.Components.Server.Tests (11)
Circuits\RemoteJSDataStreamTest.cs (4)
24var remoteJSDataStream = await RemoteJSDataStream.CreateRemoteJSDataStreamAsync(_jsRuntime, jsStreamReference, totalLength: 100, signalRMaximumIncomingBytes: 10_000, jsInteropDefaultCallTimeout: TimeSpan.FromMinutes(1), cancellationToken: CancellationToken.None).DefaultTimeout();
162var remoteJSDataStream = await RemoteJSDataStream.CreateRemoteJSDataStreamAsync(jsRuntime, jsStreamReference, totalLength: 100, signalRMaximumIncomingBytes: 10_000, jsInteropDefaultCallTimeout: TimeSpan.FromMinutes(1), cancellationToken: CancellationToken.None);
182var remoteJSDataStream = await RemoteJSDataStream.CreateRemoteJSDataStreamAsync(jsRuntime, jsStreamReference, totalLength: 100, signalRMaximumIncomingBytes: 10_000, jsInteropDefaultCallTimeout: TimeSpan.FromMinutes(1), cancellationToken: CancellationToken.None);
348var remoteJSDataStream = await RemoteJSDataStream.CreateRemoteJSDataStreamAsync(jsRuntime ?? _jsRuntime, jsStreamReference, totalLength: 100, signalRMaximumIncomingBytes: 10_000, jsInteropDefaultCallTimeout: TimeSpan.FromMinutes(1), cancellationToken: CancellationToken.None);
Microsoft.AspNetCore.CookiePolicy.Test (1)
Microsoft.AspNetCore.DataProtection (2)
Microsoft.AspNetCore.DataProtection.Tests (4)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Microsoft.AspNetCore.Hosting.FunctionalTests (4)
Microsoft.AspNetCore.Identity (6)
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Microsoft.AspNetCore.Identity.InMemory.Test (9)
Microsoft.AspNetCore.Identity.Test (3)
Microsoft.AspNetCore.Mvc.Razor (1)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (4)
Microsoft.AspNetCore.Mvc.Testing (1)
.packages\microsoft.extensions.hostfactoryresolver.sources\11.0.0-preview.3.26153.117\contentFiles\cs\netstandard2.0\HostFactoryResolver.cs (1)
38return TimeSpan.FromMinutes(5);
Microsoft.AspNetCore.OpenApi.Build.Tests (1)
Microsoft.AspNetCore.OutputCaching (1)
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (1)
Microsoft.AspNetCore.OutputCaching.Tests (11)
Microsoft.AspNetCore.Rewrite (1)
Microsoft.AspNetCore.Rewrite.Tests (3)
Microsoft.AspNetCore.Server.IntegrationTesting (5)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (3)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Microsoft.AspNetCore.Session (2)
Microsoft.AspNetCore.Session.Tests (2)
Microsoft.AspNetCore.Shared.Tests (1)
Microsoft.AspNetCore.SignalR.Client.Tests (5)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Microsoft.AspNetCore.TestHost (1)
.packages\microsoft.extensions.hostfactoryresolver.sources\11.0.0-preview.3.26153.117\contentFiles\cs\netstandard2.0\HostFactoryResolver.cs (1)
38return TimeSpan.FromMinutes(5);
Microsoft.AspNetCore.WebSockets (1)
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Microsoft.AspNetCore.WebSockets.Tests (2)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.Features (2)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.Workspaces (2)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Microsoft.DotNet.Build.Tasks.Feed (3)
Microsoft.DotNet.Helix.Sdk (8)
Microsoft.DotNet.Internal.SymbolHelper (3)
Microsoft.DotNet.SignCheckLibrary (1)
Microsoft.DotNet.SignTool (1)
Microsoft.DotNet.XUnitAssert.Tests (8)
Microsoft.Extensions.ApiDescription.Client.Tests (2)
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.MicroBenchmarks (2)
Microsoft.Extensions.Caching.SqlServer (3)
Microsoft.Extensions.Caching.SqlServer.Tests (4)
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (10)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (5)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (3)
Microsoft.Extensions.Http (1)
Microsoft.Extensions.Identity.Core (2)
Microsoft.Extensions.ServiceDiscovery.Dns (2)
Microsoft.Extensions.Validation.GeneratorTests (1)
Microsoft.JSInterop.Tests (2)
Microsoft.ML.PerformanceTests (1)
Microsoft.ML.TestFrameworkCommon (1)
Microsoft.ML.Tokenizers.Data.Tests (1)
Microsoft.ML.Tokenizers.Tests (2)
PresentationCore (1)
RepoTasks (1)
RunTests (1)
Sockets.BindTests (1)
Sockets.FunctionalTests (1)
System.Configuration.ConfigurationManager (1)
System.Net.Http (1)
System.Net.Requests (1)
System.Net.Security (1)
System.Security.Cryptography (2)
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)
System.Xaml.Tests (4)
System\Xaml\Replacements\DateTimeOffsetConverter2Tests.cs (4)
31DateTimeOffset dateTimeOffset = new DateTimeOffset(2018, 12, 9, 1, 2, 3, 4, TimeSpan.FromMinutes(10));
71yield return new object?[] { new DateTimeOffset(2018, 12, 9, 1, 2, 3, 4, TimeSpan.FromMinutes(10)), new CultureInfo("en-US") };
86var dateTimeOffset = new DateTimeOffset(2018, 12, 9, 1, 2, 3, 4, TimeSpan.FromMinutes(10));
92Assert.Equal(new object[] { 2018, 12, 9, 1, 2, 3, 4, TimeSpan.FromMinutes(10) }, descriptor.Arguments);
Templates.Blazor.Tests (5)
Templates.Blazor.WebAssembly.Auth.Tests (5)
Templates.Blazor.WebAssembly.Tests (5)
Templates.Mvc.Tests (5)
Templates.Tests (5)
UnitTests.Common (2)
VBCSCompiler (1)
Wasm.Performance.Driver (1)