50 references to DefaultOrchestratorTestTimeout
Aspire.Hosting.Tests (50)
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)
5178}, TestConstants.DefaultOrchestratorTestTimeout);
DistributedApplicationTests.cs (33)
80}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 125}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 154}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 343using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.DefaultOrchestratorTestTimeout); 353await rns.WaitForResourceAsync(normalResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 356await rns.WaitForResourceAsync(explicitStartResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.NotStarted, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 359await resourcesCreatedTcs.Task.DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 365await app.StopAsync(token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 387using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.DefaultOrchestratorTestTimeout); 402await orchestrator.StartResourceAsync(notStartedResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 405await rns.WaitForResourceAsync(explicitStartResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 407await startTask.DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 412await app.StopAsync(token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 433await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 437await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 458}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 478}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 499}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 517await app.RunAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1235await orchestrator.StopResourceAsync(redisContainer.Metadata.Name, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1274await orchestrator.StopResourceAsync(serviceA.Metadata.Name, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1279await orchestrator.StartResourceAsync(serviceA.Metadata.Name, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1392var aspireDashboard = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"aspire-dashboard-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1429var aspireDashboard = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"aspire-dashboard-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1651await foreach (var resource in s.WatchAsync<Container>().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout)) 1665await foreach (var resource in s.WatchAsync<Executable>().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout)) 1750}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1855await clientA.GetStringAsync("/").DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1929await clientA.GetStringAsync("/").DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 2224await kubernetesLifecycle.HooksCompleted.DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 2254using (var logCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.DefaultOrchestratorTestTimeout)) 2263using (var logCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.DefaultOrchestratorTestTimeout)) 2277using (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);
WithUrlsTests.cs (6)
1116default).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1123var startResult = await app.ResourceCommands.ExecuteCommandAsync(resourceA.Resource, KnownResourceCommands.StartCommand).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1126Assert.Equal("Hello World!", await resourceAClient.GetStringAsync("/").DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout)); 1131default).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1134var stopResult = await app.ResourceCommands.ExecuteCommandAsync(resourceA.Resource, KnownResourceCommands.StopCommand).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1140default).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout);