28 references to CreateDefaultTimeoutTokenSource
Aspire.Hosting.Tests (28)
DistributedApplicationTests.cs (3)
207
var cts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
();
285
using var cts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
743
using var cts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
Health\ResourceHealthCheckServiceTests.cs (2)
104
var abortTokenSource = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
151
var abortTokenSource = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
ResourceNotificationTests.cs (3)
68
using var cts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
();
121
using var cts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
();
178
using var cts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
();
SlimTestProgramTests.cs (3)
25
using var cts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
49
using var cts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
67
using var cts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
TestProgramFixture.cs (1)
33
using var cts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
WaitForTests.cs (16)
27
var abortCts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
99
var startupCts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
105
var waitingStateCts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
140
var startupCts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
146
var waitingStateCts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
163
var runningStateCts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
188
var startupCts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
194
var waitingStateCts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
211
var runningStateCts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
236
var startupCts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
242
var waitingStateCts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
258
var runningStateCts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
285
var startupCts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
291
var waitingStateCts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
319
var startupCts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);
325
var waitingStateCts = AsyncTestHelpers.
CreateDefaultTimeoutTokenSource
(TestConstants.LongTimeoutDuration);