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