23 references to DefaultTimeout
Aspire.Hosting.Tests (23)
Cli\CliOrphanDetectorTests.cs (2)
258await resourcesCreatedTcs.Task.DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 261await pendingRun.DefaultTimeout(TestConstants.LongTimeoutTimeSpan);
DistributedApplicationTests.cs (21)
147await orchestrator.StartResourceAsync(resourceEvent.ResourceId, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 151await orchestrator.StopResourceAsync(resourceEvent.ResourceId, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 155var restartResourceTask = orchestrator.StartResourceAsync(resourceEvent.ResourceId, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 159await orchestrator.StartResourceAsync(resourceEvent.ResourceId, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 163await startTask.DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 164await app.StopAsync(token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 211await orchestrator.StartResourceAsync(notStartedResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 228await orchestrator.StopResourceAsync(notStartedResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 232await orchestrator.StartResourceAsync(notStartedResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 235await startTask.DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 236await app.StopAsync(token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 419await orchestrator.StartResourceAsync(notStartedResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 435await orchestrator.StopResourceAsync(notStartedResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 439await orchestrator.StartResourceAsync(notStartedResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 442await startTask.DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 443await app.StopAsync(token).DefaultTimeout(TestConstants.LongTimeoutTimeSpan); 502await orchestrator.StartResourceAsync(notStartedResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.ExtraLongTimeoutTimeSpan); 520await orchestrator.StopResourceAsync(runningResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.ExtraLongTimeoutTimeSpan); 527await orchestrator.StartResourceAsync(runningResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.ExtraLongTimeoutTimeSpan); 531await startTask.DefaultTimeout(TestConstants.ExtraLongTimeoutTimeSpan); 532await app.StopAsync(token).DefaultTimeout(TestConstants.ExtraLongTimeoutTimeSpan);