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