109 references to DefaultOrchestratorTestLongTimeout
Aspire.Hosting.Tests (109)
ContainerTunnelTests.cs (10)
61
await app.WaitForTextAsync("Application started.").DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
65
await app.ResourceNotifications.WaitForResourceHealthyAsync(yarp.Resource.Name).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
73
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
104
await app.WaitForTextAsync("Application started.").DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
108
await app.ResourceNotifications.WaitForResourceHealthyAsync(yarp.Resource.Name).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
116
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
149
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
152
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
183
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
186
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
DistributedApplicationTests.cs (84)
824
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
855
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
861
await Task.WhenAll(clientA.GetStringAsync("/pid"), clientC.GetStringAsync("/pid")).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
908
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
911
var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
921
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
965
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
968
var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
986
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1009
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1012
var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1031
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1083
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1087
var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1157
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1182
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1186
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1215
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1222
r => r.Spec.Env != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1232
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1255
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1262
r => r.Spec.Env != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1271
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1297
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1299
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1303
var redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, containerPattern, r => r.Status?.State == ContainerState.Running, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1311
redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, containerPattern, r => r.Status?.State == ContainerState.Exited, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1322
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1337
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1340
await app.StartAsync(token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1343
var serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Running, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1350
serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Finished, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1359
await app.StopAsync(token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1382
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1385
var redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, $"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1388
var serviceA = await KubernetesHelper.GetResourceByNameAsync<Executable>(kubernetes, $"{testName}-servicea", suffix!, r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1391
var nodeApp = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"{testName}-nodeapp-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1408
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1431
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1442
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1463
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1476
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1500
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1509
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1592
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1598
r => r.Status?.State == ContainerState.FailedToStart && (r.Status?.Message.Contains("bob") ?? false)).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1604
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1620
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1627
$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1633
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1648
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1655
$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1662
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1677
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1684
$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1690
var containerVolume = Assert.Single(await s.ListAsync<ContainerVolume>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
));
1694
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1706
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1766
var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
));
1783
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1808
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1812
var result = await client.GetStringAsync("pid").DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1851
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1924
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1927
await app.WaitForTextAsync("Application started.").DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1956
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1976
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2000
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2003
await app.WaitForTextAsync("Application started.").DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2036
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2057
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2074
var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
));
2097
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2130
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2133
await app.StartAsync(token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2136
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2138
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2142
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2151
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2300
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2317
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2320
await app.StartAsync(token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2327
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2369
await app.StopAsync(token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
Eventing\DistributedApplicationBuilderEventingTests.cs (2)
197
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
225
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
HealthCheckTests.cs (4)
137
await rns.WaitForResourceAsync(resource.Resource.Name, KnownResourceStates.Running).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
139
await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Waiting).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
143
await rns.WaitForResourceHealthyAsync(resource.Resource.Name).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
145
await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Running).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
ResourceFailureLoggingTests.cs (9)
21
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestLongTimeout
);
35
await app.StartAsync(cts.Token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
36
await app.ResourceNotifications.WaitForResourceAsync(executable.Resource.Name, KnownResourceStates.Finished, cts.Token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
48
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestLongTimeout
);
58
await app.StartAsync(cts.Token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
59
await app.ResourceNotifications.WaitForResourceAsync(executable.Resource.Name, KnownResourceStates.FailedToStart, cts.Token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
76
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestLongTimeout
);
89
await app.StartAsync(cts.Token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
90
await app.ResourceNotifications.WaitForResourceAsync(executable.Resource.Name, KnownResourceStates.FailedToStart, cts.Token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);