35 references to DefaultTimeout
Aspire.Hosting.Tests (35)
DistributedApplicationTests.cs (21)
144
await orchestrator.StartResourceAsync(resourceEvent.ResourceId, CancellationToken.None).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
148
await orchestrator.StopResourceAsync(resourceEvent.ResourceId, CancellationToken.None).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
152
var restartResourceTask = orchestrator.StartResourceAsync(resourceEvent.ResourceId, CancellationToken.None).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
156
await orchestrator.StartResourceAsync(resourceEvent.ResourceId, CancellationToken.None).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
160
await startTask.
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
161
await app.StopAsync().
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
206
await orchestrator.StartResourceAsync(notStartedResourceEvent.ResourceId, CancellationToken.None).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
223
await orchestrator.StopResourceAsync(notStartedResourceEvent.ResourceId, CancellationToken.None).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
227
await orchestrator.StartResourceAsync(notStartedResourceEvent.ResourceId, CancellationToken.None).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
230
await startTask.
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
231
await app.StopAsync().
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
280
await orchestrator.StartResourceAsync(notStartedResourceEvent.ResourceId, CancellationToken.None).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
296
await orchestrator.StopResourceAsync(notStartedResourceEvent.ResourceId, CancellationToken.None).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
300
await orchestrator.StartResourceAsync(notStartedResourceEvent.ResourceId, CancellationToken.None).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
303
await startTask.
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
304
await app.StopAsync().
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
361
await orchestrator.StartResourceAsync(notStartedResourceEvent.ResourceId, CancellationToken.None).
DefaultTimeout
(TestConstants.ExtraLongTimeoutTimeSpan);
379
await orchestrator.StopResourceAsync(runningResourceEvent.ResourceId, CancellationToken.None).
DefaultTimeout
(TestConstants.ExtraLongTimeoutTimeSpan);
386
await orchestrator.StartResourceAsync(runningResourceEvent.ResourceId, CancellationToken.None).
DefaultTimeout
(TestConstants.ExtraLongTimeoutTimeSpan);
390
await startTask.
DefaultTimeout
(TestConstants.ExtraLongTimeoutTimeSpan);
391
await app.StopAsync().
DefaultTimeout
(TestConstants.ExtraLongTimeoutTimeSpan);
WithHttpCommandTests.cs (5)
403
await app.ResourceNotifications.WaitForResourceAsync(service.Resource.Name, KnownResourceStates.Starting).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
413
await app.ResourceNotifications.WaitForResourceAsync(service.Resource.Name, KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
414
await watchTcs.Task.
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
473
await app.ResourceNotifications.WaitForResourceAsync(service.Resource.Name, KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
484
await watchTcs.Task.
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
WithUrlsTests.cs (9)
397
await watchTask.
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
433
await watchTask.
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
482
await app.ResourceNotifications.WaitForResourceAsync(servicea.Resource.Name, KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
484
await watchTask.
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
646
await app.ResourceNotifications.WaitForResourceAsync(servicea.Resource.Name, KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
647
await app.ResourceNotifications.WaitForResourceAsync(custom.Resource.Name, KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
649
await watchTask.
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
690
await rns.WaitForResourceAsync("servicea", KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
691
await watchTask.
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);