10 references to TimeoutAfter
Aspire.Hosting.Tests (10)
Health\ResourceHealthCheckServiceTests.cs (6)
48
await app.StopAsync().
TimeoutAfter
(TestConstants.LongTimeoutTimeSpan);
241
await app.StopAsync(abortTokenSource.Token).
TimeoutAfter
(TestConstants.LongTimeoutTimeSpan);
357
await app.StopAsync().
TimeoutAfter
(TestConstants.LongTimeoutTimeSpan);
557
await app.StopAsync().
TimeoutAfter
(TestConstants.LongTimeoutTimeSpan);
605
await app.StopAsync().
TimeoutAfter
(TestConstants.LongTimeoutTimeSpan);
651
await app.StopAsync().
TimeoutAfter
(TestConstants.LongTimeoutTimeSpan);
tests\Shared\AsyncTestHelpers.cs (4)
73
return task.
TimeoutAfter
(TimeSpan.FromMilliseconds(milliseconds), filePath, lineNumber);
78
return task.
TimeoutAfter
(timeout, filePath, lineNumber);
88
return task.AsTask().
TimeoutAfter
(TimeSpan.FromMilliseconds(milliseconds), filePath, lineNumber);
93
return task.AsTask().
TimeoutAfter
(timeout, filePath, lineNumber);