57 references to DefaultOrchestratorTestLongTimeout
Aspire.Hosting.Tests (57)
DistributedApplicationTests.cs (51)
434await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 472await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 478await Task.WhenAll(clientA.GetStringAsync("/pid"), clientC.GetStringAsync("/pid")).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 526await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 529var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 539await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 579await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 582var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 600await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 628await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 630using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.DefaultOrchestratorTestLongTimeout); 634var redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, containerPattern, r => r.Status?.State == ContainerState.Running, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 642redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, containerPattern, r => r.Status?.State == ContainerState.Exited, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 653await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 671await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 674var serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Running).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 679serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Finished).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 687await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 713await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 716var redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, $"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 719var serviceA = await KubernetesHelper.GetResourceByNameAsync<Executable>(kubernetes, $"{testName}-servicea", suffix!, r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 722var nodeApp = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"{testName}-nodeapp-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 739await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 768await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 781await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 808await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 817await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 839await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 845r => r.Status?.State == ContainerState.FailedToStart && (r.Status?.Message.Contains("bob") ?? false)).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 851await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 868await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 875$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 881await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 897await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 904$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 911await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 927await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 934$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 940await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 953await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1014var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout)); 1033var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout)); 1055await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1059var result = await client.GetStringAsync("pid").DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1098await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1167await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1193await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1217await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1247await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout); 1264var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestLongTimeout)); 1285await 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);