40 references to DefaultOrchestratorTestTimeout
Aspire.Hosting.Tests (40)
ContainerTunnelTests.cs (4)
38
var response = await clientA.GetAsync("/servicea/").DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
40
var body = await response.Content.ReadAsStringAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
77
var response = await clientA.GetAsync("/servicea/").DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
79
var body = await response.Content.ReadAsStringAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
Dcp\DcpExecutorTests.cs (1)
1691
}, TestConstants.
DefaultOrchestratorTestTimeout
);
DistributedApplicationTests.cs (29)
72
}).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
117
}).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
);
1124
await orchestrator.StopResourceAsync(serviceA.Metadata.Name, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1129
await orchestrator.StartResourceAsync(serviceA.Metadata.Name, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1241
var aspireDashboard = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"aspire-dashboard-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1278
var aspireDashboard = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"aspire-dashboard-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1434
await foreach (var resource in s.WatchAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
))
1448
await foreach (var resource in s.WatchAsync<Executable>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
))
1531
}).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1636
await clientA.GetStringAsync("/").DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1705
await clientA.GetStringAsync("/").DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1828
await kubernetesLifecycle.HooksCompleted.DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1857
using (var logCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestTimeout
))
1866
using (var logCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestTimeout
))
1880
using (var logCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestTimeout
))
Eventing\DistributedApplicationBuilderEventingTests.cs (3)
190
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
217
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
328
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
HealthCheckTests.cs (3)
114
await pendingStart.DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
116
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
135
}).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);