46 references to DefaultOrchestratorTestTimeout
Aspire.Hosting.Tests (46)
ContainerTunnelTests.cs (4)
68var response = await clientA.GetAsync("/servicea/").DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 70var body = await response.Content.ReadAsStringAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 111var response = await clientA.GetAsync("/servicea/").DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 113var body = await response.Content.ReadAsStringAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout);
Dcp\DcpExecutorTests.cs (1)
5480}, TestConstants.DefaultOrchestratorTestTimeout);
DistributedApplicationTests.cs (29)
81}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 126}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 155}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 212: app.RunAsync()).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 461using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.DefaultOrchestratorTestTimeout); 476await orchestrator.StartResourceAsync(notStartedResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 479await rns.WaitForResourceAsync(explicitStartResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 481await startTask.DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 486await app.StopAsync(token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 507await app.StartAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 511await app.StopAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 532}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 552}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 573}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 591await app.RunAsync().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1309await orchestrator.StopResourceAsync(redisContainer.Metadata.Name, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1348await orchestrator.StopResourceAsync(serviceA.Metadata.Name, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1353await orchestrator.StartResourceAsync(serviceA.Metadata.Name, token).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1466var aspireDashboard = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"aspire-dashboard-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1503var aspireDashboard = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"aspire-dashboard-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1725await foreach (var resource in s.WatchAsync<Container>().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout)) 1739await foreach (var resource in s.WatchAsync<Executable>().DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout)) 1824}).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1931await clientA.GetStringAsync("/").DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 2007await clientA.GetStringAsync("/").DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 2302await kubernetesLifecycle.HooksCompleted.DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 2332using (var logCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.DefaultOrchestratorTestTimeout)) 2341using (var logCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.DefaultOrchestratorTestTimeout)) 2355using (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)
1172default).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1179var startResult = await app.ResourceCommands.ExecuteCommandAsync(resourceA.Resource, KnownResourceCommands.StartCommand).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1182Assert.Equal("Hello World!", await resourceAClient.GetStringAsync("/").DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout)); 1187default).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1190var stopResult = await app.ResourceCommands.ExecuteCommandAsync(resourceA.Resource, KnownResourceCommands.StopCommand).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout); 1196default).DefaultTimeout(TestConstants.DefaultOrchestratorTestTimeout);