107 references to DefaultOrchestratorTestLongTimeout
Aspire.Hosting.Tests (107)
ContainerTunnelTests.cs (8)
35
await app.WaitForTextAsync("Application started.").DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
43
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
74
await app.WaitForTextAsync("Application started.").DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
82
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
115
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
118
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
149
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
152
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
DistributedApplicationTests.cs (84)
750
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
781
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
787
await Task.WhenAll(clientA.GetStringAsync("/pid"), clientC.GetStringAsync("/pid")).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
834
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
837
var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
847
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
891
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
894
var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
912
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
935
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
938
var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
957
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1009
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1013
var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1083
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1108
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1112
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1141
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1148
r => r.Spec.Env != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1158
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1181
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1188
r => r.Spec.Env != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1197
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1223
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1225
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1229
var redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, containerPattern, r => r.Status?.State == ContainerState.Running, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1237
redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, containerPattern, r => r.Status?.State == ContainerState.Exited, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1248
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1263
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1266
await app.StartAsync(token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1269
var serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Running, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1276
serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Finished, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1285
await app.StopAsync(token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1308
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1311
var redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, $"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1314
var serviceA = await KubernetesHelper.GetResourceByNameAsync<Executable>(kubernetes, $"{testName}-servicea", suffix!, r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1317
var nodeApp = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"{testName}-nodeapp-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1334
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1357
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1368
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1389
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1402
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1426
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1435
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1518
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1524
r => r.Status?.State == ContainerState.FailedToStart && (r.Status?.Message.Contains("bob") ?? false)).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1530
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1546
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1553
$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1559
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1574
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1581
$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1588
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1603
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1610
$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1616
var containerVolume = Assert.Single(await s.ListAsync<ContainerVolume>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
));
1620
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1632
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1692
var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
));
1709
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1734
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1738
var result = await client.GetStringAsync("pid").DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1777
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1848
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1851
await app.WaitForTextAsync("Application started.").DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1880
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1900
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1922
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1925
await app.WaitForTextAsync("Application started.").DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1958
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1979
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1996
var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
));
2019
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2052
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2055
await app.StartAsync(token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2058
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2060
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2064
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2073
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2222
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2239
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2242
await app.StartAsync(token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2249
.DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
2291
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
);