34 references to DefaultTimeout
Aspire.Hosting.Tests (34)
DistributedApplicationTests.cs (24)
141
var resourceEvent = await rns.WaitForResourceAsync(dependentResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Waiting).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
145
await rns.WaitForResourceAsync(dependentResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
149
await rns.WaitForResourceAsync(dependentResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Finished).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
153
await rns.WaitForResourceAsync(dependentResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Waiting).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
157
await rns.WaitForResourceAsync(dependentResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
185
var notStartedResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.NotStarted).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
186
var dependentResourceEvent = await rns.WaitForResourceAsync(dependentResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Waiting).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
207
var runningResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
215
var dependentResourceRunningEvent = await rns.WaitForResourceAsync(dependentResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
224
await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Finished).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
228
await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
260
var notStartedResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.NotStarted).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
261
var dependentResourceEvent = await rns.WaitForResourceAsync(dependentResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Waiting).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
281
var runningResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
288
var dependentRunningResourceEvent = await rns.WaitForResourceAsync(dependentResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
297
await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Exited).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
301
await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
341
notStartedResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.NotStarted).
DefaultTimeout
(TestConstants.ExtraLongTimeoutTimeSpan);
342
dependentResourceEvent = await rns.WaitForResourceAsync(dependentResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Waiting).
DefaultTimeout
(TestConstants.ExtraLongTimeoutTimeSpan);
364
var runningResourceEvent = await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running).
DefaultTimeout
(TestConstants.ExtraLongTimeoutTimeSpan);
371
var dependentRunningResourceEvent = await rns.WaitForResourceAsync(dependentResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running).
DefaultTimeout
(TestConstants.ExtraLongTimeoutTimeSpan);
380
await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Exited).
DefaultTimeout
(TestConstants.ExtraLongTimeoutTimeSpan);
387
await rns.WaitForResourceAsync(notStartedResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running).
DefaultTimeout
(TestConstants.ExtraLongTimeoutTimeSpan);
909
var dependentRunningResourceEvent = await rns.WaitForResourceAsync(container.Resource.Name, e => e.Snapshot.State?.Text == KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
ResourceCommandServiceTests.cs (4)
133
await app.ResourceNotifications.WaitForResourceHealthyAsync("servicea").
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
176
await app.ResourceNotifications.WaitForResourceHealthyAsync("servicea").
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
235
await app.ResourceNotifications.WaitForResourceHealthyAsync("servicea").
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
270
await app.ResourceNotifications.WaitForResourceHealthyAsync("servicea").
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
WithHttpCommandTests.cs (6)
188
await app.ResourceNotifications.WaitForResourceHealthyAsync("servicea").
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
212
await app.ResourceNotifications.WaitForResourceHealthyAsync("servicea").
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
235
await app.ResourceNotifications.WaitForResourceHealthyAsync("servicea").
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
274
await app.ResourceNotifications.WaitForResourceHealthyAsync("servicea").
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
313
await app.ResourceNotifications.WaitForResourceHealthyAsync("servicea").
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);
354
await app.ResourceNotifications.WaitForResourceHealthyAsync("servicea").
DefaultTimeout
(TestConstants.LongTimeoutTimeSpan);