67 references to DefaultOrchestratorTestLongTimeout
Aspire.Hosting.Tests (67)
DistributedApplicationTests.cs (61)
451
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
491
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
497
await Task.WhenAll(clientA.GetStringAsync("/pid"), clientC.GetStringAsync("/pid")).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
545
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
548
var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
558
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
603
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
606
var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
624
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
718
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
724
var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
832
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
858
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
862
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
890
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
892
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestLongTimeout
);
896
var redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, containerPattern, r => r.Status?.State == ContainerState.Running, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
904
redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, containerPattern, r => r.Status?.State == ContainerState.Exited, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
915
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
933
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
936
var serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Running).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
941
serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Finished).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
949
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
975
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
978
var redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, $"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
981
var serviceA = await KubernetesHelper.GetResourceByNameAsync<Executable>(kubernetes, $"{testName}-servicea", suffix!, r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
984
var nodeApp = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"{testName}-nodeapp-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1001
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1026
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1037
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1060
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1073
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1100
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1109
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1131
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1137
r => r.Status?.State == ContainerState.FailedToStart && (r.Status?.Message.Contains("bob") ?? false)).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1143
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1160
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1167
$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1173
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1189
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1196
$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1203
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1219
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1226
$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1232
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1245
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1306
var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
));
1325
var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
));
1347
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1351
var result = await client.GetStringAsync("pid").DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1390
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1459
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1462
await app.WaitForTextAsync("Application started.").DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1489
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1513
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1516
await app.WaitForTextAsync("Application started.").DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1547
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1564
var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
));
1587
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1623
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
Eventing\DistributedApplicationBuilderEventingTests.cs (2)
193
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
221
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
HealthCheckTests.cs (4)
103
await rns.WaitForResourceAsync(resource.Resource.Name, KnownResourceStates.Running).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
105
await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Waiting).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
109
await rns.WaitForResourceHealthyAsync(resource.Resource.Name).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
111
await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Running).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);