58 references to DefaultOrchestratorTestLongTimeout
Aspire.Hosting.Tests (58)
DistributedApplicationTests.cs (52)
435await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 473await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 479await Task.WhenAll(clientA.GetStringAsync("/pid"), clientC.GetStringAsync("/pid")).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 527await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 530var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 540await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 580await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 583var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 601await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 629await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 631using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.DefaultOrchestratorTestLongTimeout); 635var redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, containerPattern, r => r.Status?.State == ContainerState.Running, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 643redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, containerPattern, r => r.Status?.State == ContainerState.Exited, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 654await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 672await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 675var serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Running).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 680serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Finished).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 688await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 714await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 717var redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, $"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 720var serviceA = await KubernetesHelper.GetResourceByNameAsync<Executable>(kubernetes, $"{testName}-servicea", suffix!, r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 723var nodeApp = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"{testName}-nodeapp-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 740await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 769await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 782await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 809await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 818await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 840await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 846r => r.Status?.State == ContainerState.FailedToStart && (r.Status?.Message.Contains("bob") ?? false)).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 852await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 869await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 876$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 882await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 898await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 905$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 912await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 928await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 935$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 941await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 954await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1015var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout)); 1034var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout)); 1056await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1060var result = await client.GetStringAsync("pid").DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1099await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1168await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1194await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1218await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1248await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1265var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout)); 1288await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1320await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout);
Eventing\DistributedApplicationBuilderEventingTests.cs (2)
195await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 223await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout);
HealthCheckTests.cs (4)
104await rns.WaitForResourceAsync(resource.Resource.Name, KnownResourceStates.Running).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 106await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Waiting).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 110await rns.WaitForResourceHealthyAsync(resource.Resource.Name).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 112await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Running).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout);