60 references to DefaultOrchestratorTestLongTimeout
Aspire.Hosting.Tests (60)
DistributedApplicationTests.cs (54)
450
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
490
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
496
await Task.WhenAll(clientA.GetStringAsync("/pid"), clientC.GetStringAsync("/pid")).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
544
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
547
var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
557
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
602
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
605
var list = await s.ListAsync<Container>().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
623
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
651
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
653
using var cts = AsyncTestHelpers.CreateDefaultTimeoutTokenSource(TestConstants.
DefaultOrchestratorTestLongTimeout
);
657
var redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, containerPattern, r => r.Status?.State == ContainerState.Running, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
665
redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, containerPattern, r => r.Status?.State == ContainerState.Exited, token).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
676
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
694
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
697
var serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Running).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
702
serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Finished).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
710
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
736
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
739
var redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, $"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
742
var serviceA = await KubernetesHelper.GetResourceByNameAsync<Executable>(kubernetes, $"{testName}-servicea", suffix!, r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
745
var nodeApp = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"{testName}-nodeapp-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
762
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
787
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
798
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
821
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
834
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
861
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
870
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
892
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
898
r => r.Status?.State == ContainerState.FailedToStart && (r.Status?.Message.Contains("bob") ?? false)).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
904
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
921
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
928
$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
934
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
950
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
957
$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
964
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
980
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
987
$"{testName}-redis-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
993
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1006
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1067
var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
));
1086
var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
));
1108
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1112
var result = await client.GetStringAsync("pid").DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1151
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1220
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1250
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1274
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1308
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1325
var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
));
1348
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
1384
await app.StartAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
Eventing\DistributedApplicationBuilderEventingTests.cs (2)
193
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
221
await app.StopAsync().DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
HealthCheckTests.cs (4)
103
await rns.WaitForResourceAsync(resource.Resource.Name, KnownResourceStates.Running).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
105
await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Waiting).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
109
await rns.WaitForResourceHealthyAsync(resource.Resource.Name).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);
111
await rns.WaitForResourceAsync(dependentResource.Resource.Name, KnownResourceStates.Running).DefaultTimeout(TestConstants.
DefaultOrchestratorTestLongTimeout
);