50 references to DefaultOrchestratorTestTimeout
Aspire.Hosting.Tests (50)
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)
5178
}, TestConstants.
DefaultOrchestratorTestTimeout
);
DistributedApplicationTests.cs (33)
80
}).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
125
}).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
154
}).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
343
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestTimeout
);
353
await rns.WaitForResourceAsync(normalResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
356
await rns.WaitForResourceAsync(explicitStartResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.NotStarted, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
359
await resourcesCreatedTcs.Task.DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
365
await app.StopAsync(token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
387
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestTimeout
);
402
await orchestrator.StartResourceAsync(notStartedResourceEvent.ResourceId, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
405
await rns.WaitForResourceAsync(explicitStartResourceName, e => e.Snapshot.State?.Text == KnownResourceStates.Running, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
407
await startTask.DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
412
await app.StopAsync(token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
433
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
437
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
458
}).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
478
}).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
499
}).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
517
await app.RunAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1235
await orchestrator.StopResourceAsync(redisContainer.Metadata.Name, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1274
await orchestrator.StopResourceAsync(serviceA.Metadata.Name, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1279
await orchestrator.StartResourceAsync(serviceA.Metadata.Name, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1392
var aspireDashboard = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"aspire-dashboard-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1429
var aspireDashboard = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"aspire-dashboard-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1651
await foreach (var resource in s.WatchAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
))
1665
await foreach (var resource in s.WatchAsync<Executable>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
))
1750
}).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1855
await clientA.GetStringAsync("/").DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1929
await clientA.GetStringAsync("/").DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
2224
await kubernetesLifecycle.HooksCompleted.DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
2254
using (var logCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestTimeout
))
2263
using (var logCts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestTimeout
))
2277
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)
1116
default).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1123
var startResult = await app.ResourceCommands.ExecuteCommandAsync(resourceA.Resource, KnownResourceCommands.StartCommand).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1126
Assert.Equal("Hello World!", await resourceAClient.GetStringAsync("/").DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
));
1131
default).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1134
var stopResult = await app.ResourceCommands.ExecuteCommandAsync(resourceA.Resource, KnownResourceCommands.StopCommand).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);
1140
default).DefaultTimeout(TestConstants.
DefaultOrchestratorTestTimeout
);