49 references to LongTimeoutDuration
Aspire.Hosting.Tests (49)
DistributedApplicationTests.cs (4)
151
await restartResourceTask.DefaultTimeout(TestConstants.
LongTimeoutDuration
);
684
serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Running).DefaultTimeout(TestConstants.
LongTimeoutDuration
);
1100
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
1104
await app.WaitForTextAsync("Content root path:", resourceName: testProgram.ServiceABuilder.Resource.Name).DefaultTimeout(TestConstants.
LongTimeoutDuration
);
Health\ResourceHealthCheckServiceTests.cs (4)
224
var abortTokenSource = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
265
var abortTokenSource = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
308
var abortTokenSource = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
423
var pendingStart = app.StartAsync().DefaultTimeout(TestConstants.
LongTimeoutDuration
);
SlimTestProgramTests.cs (3)
26
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
51
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
70
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
TestProgramFixture.cs (1)
32
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
tests\Shared\AsyncTestHelpers.cs (1)
28
public static TimeSpan LongTimeoutTimeSpan { get; } = TimeSpan.FromMilliseconds(
LongTimeoutDuration
);
WaitForTests.cs (36)
28
var abortCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
103
using var startupCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
106
using var waitingStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
134
using var startupCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
137
using var waitingStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
167
var startupCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
173
var waitingStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
211
var startupCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
214
var waitingStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
322
var startupCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
325
var waitingStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
356
var startupCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
359
var waitingStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
403
var startupCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
406
var waitingStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
445
var startupCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
451
var waitingStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
467
var runningStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
492
var startupCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
498
var waitingStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
514
var runningStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
547
var startupCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
553
var waitingStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
570
var runningStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
601
var startupCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
607
var waitingStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
622
var runningStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
652
var startupCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
658
var waitingStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
705
var startupCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
711
var waitingStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
754
var startupCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
760
var waitingStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
869
var startupCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
873
var waitingStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);
883
var runningStateCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
LongTimeoutDuration
);