32 references to DefaultOrchestratorTestLongTimeout
Aspire.Hosting.Tests (32)
DistributedApplicationTests.cs (26)
365
await Task.WhenAll(clientA.GetStringAsync("/pid"), clientC.GetStringAsync("/pid")).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
417
var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
458
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestLongTimeout
);
462
var redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, containerPattern, r => r.Status?.State == ContainerState.Running, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
470
redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, containerPattern, r => r.Status?.State == ContainerState.Exited, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
481
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
502
var serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Running).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
507
serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Finished).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
515
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
544
var redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, $"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
547
var serviceA = await KubernetesHelper.GetResourceByNameAsync<Executable>(kubernetes, $"{testName}-servicea", suffix!, r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
550
var nodeApp = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"{testName}-nodeapp-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
567
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
608
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
644
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
673
r => r.Status?.State == ContainerState.FailedToStart && (r.Status?.Message.Contains("bob") ?? false)).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
679
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
704
$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
710
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
734
$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
741
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
765
$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
771
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
893
var result = await client.GetStringAsync("pid").DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1024
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1078
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
Eventing\DistributedApplicationBuilderEventingTests.cs (2)
195
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
223
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
HealthCheckTests.cs (4)
88
await rns.WaitForResourceAsync(resource.Resource.Name, KnownResourceStates.Running).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
90
await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Waiting).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
94
await rns.WaitForResourceHealthyAsync(resource.Resource.Name).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
96
await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Running).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);