38 references to DefaultOrchestratorTestTimeout
Aspire.Hosting.Tests (38)
ContainerTunnelTests.cs (2)
34
var response = await clientA.GetAsync("/servicea/").DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
36
var body = await response.Content.ReadAsStringAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
Dcp\DcpExecutorTests.cs (1)
1654
}, TestConstants.
DefaultOrchestratorTestTimeout
);
DistributedApplicationTests.cs (29)
71
}).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
116
}).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
275
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestTimeout
);
285
await rns.WaitForResourceAsync(normalResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
288
await rns.WaitForResourceAsync(explicitStartResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.NotStarted, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
291
await resourcesCreatedTcs.Task.DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
297
await app.StopAsync(token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
319
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestTimeout
);
334
await orchestrator.StartResourceAsync(notStartedResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
337
await rns.WaitForResourceAsync(explicitStartResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
339
await startTask.DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
344
await app.StopAsync(token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
365
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
369
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
596
var appModel = await tcs.Task.DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1087
await orchestrator.StopResourceAsync(redisContainer.Metadata.Name, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1125
await orchestrator.StopResourceAsync(serviceA.Metadata.Name, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1130
await orchestrator.StartResourceAsync(serviceA.Metadata.Name, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1242
var aspireDashboard = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"aspire-dashboard-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1280
var aspireDashboard = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"aspire-dashboard-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1436
await foreach (var resource in s.WatchAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
))
1450
await foreach (var resource in s.WatchAsync<Executable>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
))
1532
}).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1635
await clientA.GetStringAsync("/").DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1703
await clientA.GetStringAsync("/").DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1826
await kubernetesLifecycle.HooksCompleted.DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1855
using (var logCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestTimeout
))
1864
using (var logCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestTimeout
))
1878
using (var logCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestTimeout
))
Eventing\DistributedApplicationBuilderEventingTests.cs (3)
189
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
216
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
327
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
HealthCheckTests.cs (3)
113
await pendingStart.DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
115
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
134
}).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);