138 references to DefaultTimeout
Aspire.Hosting.Tests (138)
Dashboard\DashboardLifecycleHookTests.cs (1)
50
await resourceNotificationService.PublishUpdateAsync(model.Resources.Single(), s => s).
DefaultTimeout
();
Dashboard\DashboardResourceTests.cs (16)
44
await app.ExecuteBeforeStartHooksAsync(default).
DefaultTimeout
();
68
await app.ExecuteBeforeStartHooksAsync(default).
DefaultTimeout
();
99
await app.ExecuteBeforeStartHooksAsync(default).
DefaultTimeout
();
169
await app.ExecuteBeforeStartHooksAsync(default).
DefaultTimeout
();
205
await app.ExecuteBeforeStartHooksAsync(default).
DefaultTimeout
();
240
await app.ExecuteBeforeStartHooksAsync(default).
DefaultTimeout
();
272
await app.ExecuteBeforeStartHooksAsync(default).
DefaultTimeout
();
308
await app.ExecuteBeforeStartHooksAsync(default).
DefaultTimeout
();
351
await app.ExecuteBeforeStartHooksAsync(default).
DefaultTimeout
();
376
await app.ExecuteBeforeStartHooksAsync(default).
DefaultTimeout
();
392
await app.ExecuteBeforeStartHooksAsync(default).
DefaultTimeout
();
457
await app.ExecuteBeforeStartHooksAsync(default).
DefaultTimeout
();
468
await resourceNotificationService.PublishUpdateAsync(dashboard, "aspire-dashboard-0", s => s with { State = "Running" }).
DefaultTimeout
();
471
await watchForLogSubs.
DefaultTimeout
();
497
await app.DisposeAsync().AsTask().
DefaultTimeout
();
509
await app.ExecuteBeforeStartHooksAsync(default).
DefaultTimeout
();
Dashboard\DashboardServiceTests.cs (2)
69
await task.
DefaultTimeout
();
107
}).
DefaultTimeout
();
Dashboard\ResourcePublisherTests.cs (7)
52
await cts.CancelAsync().
DefaultTimeout
();
56
await task.
DefaultTimeout
();
105
await cts.CancelAsync().
DefaultTimeout
();
131
await cts.CancelAsync().
DefaultTimeout
();
151
await cts.CancelAsync().
DefaultTimeout
();
172
await cts.CancelAsync().
DefaultTimeout
();
180
await task.
DefaultTimeout
();
DistributedApplicationTests.cs (31)
156
await app.StartAsync().
DefaultTimeout
();
194
await app.StartAsync().
DefaultTimeout
();
249
await app.StartAsync().
DefaultTimeout
();
283
await app.StartAsync().
DefaultTimeout
();
292
await applicationExecutor.StopResourceAsync(redisContainer.Metadata.Name, token).
DefaultTimeout
();
303
await app.StopAsync().
DefaultTimeout
();
320
await app.StartAsync().
DefaultTimeout
();
326
await applicationExecutor.StopResourceAsync(serviceA.Metadata.Name, CancellationToken.None).
DefaultTimeout
();
331
await applicationExecutor.StartResourceAsync(serviceA.Metadata.Name, CancellationToken.None).
DefaultTimeout
();
336
await app.StopAsync().
DefaultTimeout
();
361
await app.StartAsync().
DefaultTimeout
();
387
await app.StopAsync().
DefaultTimeout
();
414
await app.StartAsync().
DefaultTimeout
();
427
await app.StopAsync().
DefaultTimeout
();
453
await app.StartAsync().
DefaultTimeout
();
462
await app.StopAsync().
DefaultTimeout
();
484
await app.StartAsync().
DefaultTimeout
();
496
await app.StopAsync().
DefaultTimeout
();
513
await app.StartAsync().
DefaultTimeout
();
526
await app.StopAsync().
DefaultTimeout
();
542
await app.StartAsync().
DefaultTimeout
();
556
await app.StopAsync().
DefaultTimeout
();
572
await app.StartAsync().
DefaultTimeout
();
585
await app.StopAsync().
DefaultTimeout
();
598
await app.StartAsync().
DefaultTimeout
();
699
await app.StartAsync().
DefaultTimeout
();
741
await app.StartAsync().
DefaultTimeout
();
806
await app.StartAsync().
DefaultTimeout
();
809
await app.WaitForTextAsync("Application started.").
DefaultTimeout
();
834
await app.StopAsync().
DefaultTimeout
();
873
await app.StartAsync().
DefaultTimeout
();
Eventing\DistributedApplicationBuilderEventingTests.cs (13)
39
await blockAssertionTcs.Task.
DefaultTimeout
();
42
await pendingPublish.
DefaultTimeout
();
72
await Task.WhenAll(blockAssertionSub1.Task, blockAssertionSub2.Task).
DefaultTimeout
();
75
await pendingPublish.
DefaultTimeout
();
102
await builder.Eventing.PublishAsync(new DummyEvent(), EventDispatchBehavior.NonBlockingConcurrent).
DefaultTimeout
();
105
await Task.WhenAll(blockAssertionSub1.Task, blockAssertionSub2.Task).
DefaultTimeout
();
137
await builder.Eventing.PublishAsync(new DummyEvent(), EventDispatchBehavior.NonBlockingSequential).
DefaultTimeout
();
141
await blockAssert1.Task.
DefaultTimeout
();
154
await blockAssert2.Task.
DefaultTimeout
();
160
await blockAssert3.Task.
DefaultTimeout
();
191
await app.StartAsync().
DefaultTimeout
();
193
await beforeResourceStartedTcs.Task.
DefaultTimeout
();
195
await app.StopAsync().
DefaultTimeout
();
Health\ResourceHealthCheckServiceTests.cs (28)
27
await app.StartAsync().
DefaultTimeout
();
32
}).
DefaultTimeout
();
45
await app.StopAsync().
DefaultTimeout
();
61
await app.StartAsync().
DefaultTimeout
();
66
}).
DefaultTimeout
();
81
await app.StopAsync().
DefaultTimeout
();
106
await app.StartAsync(abortTokenSource.Token).
DefaultTimeout
();
111
}).
DefaultTimeout
();
126
await app.StopAsync(abortTokenSource.Token).
DefaultTimeout
();
153
await app.StartAsync(abortTokenSource.Token).
DefaultTimeout
();
158
}).
DefaultTimeout
();
159
await rns.WaitForResourceAsync(resource.Resource.Name, KnownResourceStates.Running, abortTokenSource.Token).
DefaultTimeout
();
169
await app.StopAsync(abortTokenSource.Token).
DefaultTimeout
();
195
}).
DefaultTimeout
();
200
await pendingStart.
DefaultTimeout
();
201
await app.StopAsync().
DefaultTimeout
();
222
var pendingStart = app.StartAsync().
DefaultTimeout
();
227
}).
DefaultTimeout
();
239
await app.StopAsync().
DefaultTimeout
();
269
var pendingStart = app.StartAsync().
DefaultTimeout
(TestConstants.LongTimeoutDuration);
291
}).
DefaultTimeout
();
299
await app.StopAsync().
DefaultTimeout
();
329
var pendingStart = app.StartAsync().
DefaultTimeout
();
336
}).
DefaultTimeout
();
353
await app.StopAsync().
DefaultTimeout
();
389
}).
DefaultTimeout
();
397
}).
DefaultTimeout
();
406
await app.StopAsync().
DefaultTimeout
();
HealthCheckTests.cs (5)
88
await rns.WaitForResourceAsync(resource.Resource.Name, KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutDuration);
90
await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Waiting).
DefaultTimeout
(TestConstants.LongTimeoutDuration);
96
await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Running).
DefaultTimeout
(TestConstants.LongTimeoutDuration);
98
await pendingStart.
DefaultTimeout
();
100
await app.StopAsync().
DefaultTimeout
();
ProjectResourceTests.cs (2)
50
await File.WriteAllTextAsync(projectFilePath, csProjContent).
DefaultTimeout
();
53
await File.WriteAllTextAsync(launchSettingsFilePath, launchSettingsContent).
DefaultTimeout
();
ResourceLoggerServiceTests.cs (10)
26
await subsLoop.
DefaultTimeout
();
45
await subsLoop.
DefaultTimeout
();
67
await subsLoop.
DefaultTimeout
();
107
await subsLoop.
DefaultTimeout
();
126
await subsLoop.
DefaultTimeout
();
139
await subsLoop.
DefaultTimeout
();
163
await subsLoop.
DefaultTimeout
();
184
await subsLoop.
DefaultTimeout
();
202
await subsLoop.
DefaultTimeout
();
228
await subsLoop.
DefaultTimeout
();
ResourceNotificationTests.cs (23)
71
await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(new("A", "value")) }).
DefaultTimeout
();
73
await notificationService.PublishUpdateAsync(resource, state => state with { Properties = state.Properties.Add(new("B", "value")) }).
DefaultTimeout
();
124
await notificationService.PublishUpdateAsync(resource1, state => state with { Properties = state.Properties.Add(new("A", "value")) }).
DefaultTimeout
();
126
await notificationService.PublishUpdateAsync(resource2, state => state with { Properties = state.Properties.Add(new("B", "value")) }).
DefaultTimeout
();
128
await notificationService.PublishUpdateAsync(resource1, "replica1", state => state with { Properties = state.Properties.Add(new("C", "value")) }).
DefaultTimeout
();
165
await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeState" }).
DefaultTimeout
();
166
await waitTask.
DefaultTimeout
();
181
await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeState" }).
DefaultTimeout
();
182
await waitTask.
DefaultTimeout
();
195
await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeState" }).
DefaultTimeout
();
211
await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = KnownResourceStates.Running }).
DefaultTimeout
();
212
await waitTask.
DefaultTimeout
();
226
await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeOtherState" }).
DefaultTimeout
();
241
await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeOtherState" }).
DefaultTimeout
();
302
await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeState" }).
DefaultTimeout
();
313
await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeState" }).
DefaultTimeout
();
323
await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "NewState" }).
DefaultTimeout
();
333
await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = null }).
DefaultTimeout
();
343
await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "" }).
DefaultTimeout
();
353
await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = " " }).
DefaultTimeout
();
371
await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { CreationTimeStamp = createdDate }).
DefaultTimeout
();
372
await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { State = "SomeState" }).
DefaultTimeout
();
373
await notificationService.PublishUpdateAsync(resource1, snapshot => snapshot with { ExitCode = 0 }).
DefaultTimeout
();