44 references to DefaultOrchestratorTestTimeout
Aspire.Hosting.Tests (44)
ContainerTunnelTests.cs (4)
38var response = await clientA.GetAsync("/servicea/").DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 40var body = await response.Content.ReadAsStringAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 77var response = await clientA.GetAsync("/servicea/").DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 79var body = await response.Content.ReadAsStringAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout);
Dcp\DcpExecutorTests.cs (1)
4692}, TestConstants.DefaultOrchestratorTestTimeout);
DistributedApplicationTests.cs (33)
80}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 125}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 154}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 339using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.DefaultOrchestratorTestTimeout); 349await rns.WaitForResourceAsync(normalResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 352await rns.WaitForResourceAsync(explicitStartResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.NotStarted, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 355await resourcesCreatedTcs.Task.DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 361await app.StopAsync(token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 383using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.DefaultOrchestratorTestTimeout); 398await orchestrator.StartResourceAsync(notStartedResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 401await rns.WaitForResourceAsync(explicitStartResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 403await startTask.DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 408await app.StopAsync(token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 429await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 433await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 454}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 474}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 495}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 513await app.RunAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1231await orchestrator.StopResourceAsync(redisContainer.Metadata.Name, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1268await orchestrator.StopResourceAsync(serviceA.Metadata.Name, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1273await orchestrator.StartResourceAsync(serviceA.Metadata.Name, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1385var aspireDashboard = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"aspire-dashboard-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1422var aspireDashboard = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"aspire-dashboard-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1640await foreach (var resource in s.WatchAsync<Container>().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout)) 1654await foreach (var resource in s.WatchAsync<Executable>().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout)) 1739}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1844await clientA.GetStringAsync("/").DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1918await clientA.GetStringAsync("/").DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 2213await kubernetesLifecycle.HooksCompleted.DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 2243using (var logCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.DefaultOrchestratorTestTimeout)) 2252using (var logCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.DefaultOrchestratorTestTimeout)) 2266using (var logCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.DefaultOrchestratorTestTimeout))
Eventing\DistributedApplicationBuilderEventingTests.cs (3)
193await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 220await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 356await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout);
HealthCheckTests.cs (3)
147await pendingStart.DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 149await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 168}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout);