98 references to DefaultTimeout
Aspire.Hosting.Tests (98)
AddParameterTests.cs (4)
151
var paramManifest = await ManifestUtils.GetManifest(appModel.Resources.OfType<ParameterResource>().Single(r => r.Name == "pass")).
DefaultTimeout
();
201
var paramManifest = await ManifestUtils.GetManifest(appModel.Resources.OfType<ParameterResource>().Single(r => r.Name == "pass")).
DefaultTimeout
();
259
var paramManifest = await ManifestUtils.GetManifest(appModel.Resources.OfType<ParameterResource>().Single(r => r.Name == "pass")).
DefaultTimeout
();
314
var paramManifest = await ManifestUtils.GetManifest(appModel.Resources.OfType<ParameterResource>().Single(r => r.Name == "val")).
DefaultTimeout
();
Dashboard\DashboardResourceTests.cs (1)
518
var manifest = await ManifestUtils.GetManifestOrNull(dashboard).
DefaultTimeout
();
Dashboard\DashboardServiceTests.cs (5)
55
var exceedLimitUpdate = await writer.ReadNextAsync().
DefaultTimeout
();
59
var longLinesUpdate1 = await writer.ReadNextAsync().
DefaultTimeout
();
64
var longLinesUpdate2 = await writer.ReadNextAsync().
DefaultTimeout
();
113
}).
DefaultTimeout
();
128
var update = await writer.ReadNextAsync().
DefaultTimeout
();
Dashboard\ResourcePublisherTests.cs (1)
48
var change = Assert.Single(await tcs.Task.
DefaultTimeout
());
DistributedApplicationTests.cs (29)
60
}).
DefaultTimeout
();
101
}).
DefaultTimeout
();
158
var appModel = await tcs.Task.
DefaultTimeout
();
200
await Task.WhenAll(clientA.GetStringAsync("/pid"), clientC.GetStringAsync("/pid")).
DefaultTimeout
(TestConstants.LongTimeoutDuration);
213
var pidText = await clientB.GetStringAsync(url).
DefaultTimeout
();
252
var list = await s.ListAsync<Container>().
DefaultTimeout
();
289
var redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, containerPattern, r => r.Status?.State == ContainerState.Running, token).
DefaultTimeout
(TestConstants.LongTimeoutDuration);
294
redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, containerPattern, r => r.Status?.State == ContainerState.Exited, token).
DefaultTimeout
(TestConstants.LongTimeoutDuration);
323
var serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Running).
DefaultTimeout
(TestConstants.LongTimeoutDuration);
328
serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Finished).
DefaultTimeout
(TestConstants.LongTimeoutDuration);
333
serviceA = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, executablePattern, r => r.Status?.State == ExecutableState.Running).
DefaultTimeout
(TestConstants.LongTimeoutDuration);
364
var redisContainer = await KubernetesHelper.GetResourceByNameMatchAsync<Container>(kubernetes, $"redis0-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).
DefaultTimeout
();
367
var serviceA = await KubernetesHelper.GetResourceByNameAsync<Executable>(kubernetes, "servicea", suffix!, r => r.Status?.EffectiveEnv is not null).
DefaultTimeout
();
370
var nodeApp = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"nodeapp-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).
DefaultTimeout
();
417
var aspireDashboard = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"aspire-dashboard-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).
DefaultTimeout
();
456
var aspireDashboard = await KubernetesHelper.GetResourceByNameMatchAsync<Executable>(kubernetes, $"aspire-dashboard-{ReplicaIdRegex}-{suffix}", r => r.Status?.EffectiveEnv is not null).
DefaultTimeout
();
490
r => r.Status?.State == ContainerState.FailedToStart && (r.Status?.Message.Contains("bob") ?? false)).
DefaultTimeout
(TestConstants.LongTimeoutDuration);
520
$"redis-cli-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).
DefaultTimeout
();
549
$"redis-cli-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).
DefaultTimeout
();
579
$"redis-cli-{ReplicaIdRegex}-{suffix}", r => r.Spec.VolumeMounts != null).
DefaultTimeout
();
659
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => app.StartAsync()).
DefaultTimeout
();
678
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => app.StartAsync()).
DefaultTimeout
();
703
var result = await client.GetStringAsync("pid").
DefaultTimeout
(TestConstants.LongTimeoutDuration);
715
}).
DefaultTimeout
();
773
var value = await client.GetStringAsync($"{httpsEndpoint}urls", token).
DefaultTimeout
();
813
await clientA.GetStringAsync("/").
DefaultTimeout
();
816
var exeList = await s.ListAsync<Executable>().
DefaultTimeout
();
824
var list = await s.ListAsync<Container>().
DefaultTimeout
();
851
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => app.StartAsync()).
DefaultTimeout
();
ExecutableResourceTests.cs (1)
51
var manifest = await ManifestUtils.GetManifest(exe2.Resource).
DefaultTimeout
();
Health\ResourceHealthCheckServiceTests.cs (11)
24
await using var app = await builder.BuildAsync().
DefaultTimeout
();
34
var startingEvent = await rns.WaitForResourceAsync("resource", e => e.Snapshot.State?.Text == KnownResourceStates.Starting).
DefaultTimeout
();
42
var healthyEvent = await rns.WaitForResourceHealthyAsync("resource").
DefaultTimeout
();
58
await using var app = await builder.BuildAsync().
DefaultTimeout
();
68
var startingEvent = await rns.WaitForResourceAsync("resource", e => e.Snapshot.State?.Text == KnownResourceStates.Starting).
DefaultTimeout
();
76
var runningEvent = await rns.WaitForResourceAsync("resource", e => e.Snapshot.State?.Text == KnownResourceStates.Running).
DefaultTimeout
();
79
await rns.WaitForResourceHealthyAsync("resource").
DefaultTimeout
();
112
await rns.WaitForResourceHealthyAsync(resource.Resource.Name, abortTokenSource.Token).
DefaultTimeout
();
197
var @event = await blockAssert.Task.
DefaultTimeout
();
399
var parentReadyEvent = await parentReady.Task.
DefaultTimeout
();
402
var childReadyEvent = await childReady.Task.
DefaultTimeout
();
HealthCheckTests.cs (4)
32
}).
DefaultTimeout
();
54
}).
DefaultTimeout
();
94
await rns.WaitForResourceHealthyAsync(resource.Resource.Name).
DefaultTimeout
(TestConstants.LongTimeoutDuration);
120
}).
DefaultTimeout
();
KestrelConfigTests.cs (4)
177
var manifest = await ManifestUtils.GetManifest(resource).
DefaultTimeout
();
221
var manifest = await ManifestUtils.GetManifest(resource).
DefaultTimeout
();
292
var manifest = await ManifestUtils.GetManifest(resource).
DefaultTimeout
();
314
var manifest = await ManifestUtils.GetManifest(resource).
DefaultTimeout
();
ManifestGenerationTests.cs (2)
100
var redisManifest = await ManifestUtils.GetManifest(redis.Resource).
DefaultTimeout
();
537
var manifest = await ManifestUtils.GetManifest(param.Resource).
DefaultTimeout
();
ProjectResourceTests.cs (3)
21
var projectDetails = await PrepareProjectWithMalformedLaunchSettingsAsync().
DefaultTimeout
();
481
var manifest = await ManifestUtils.GetManifest(resource).
DefaultTimeout
();
531
var manifest = await ManifestUtils.GetManifest(resource).
DefaultTimeout
();
PublishAsConnectionStringTests.cs (1)
21
var manifest = await ManifestUtils.GetManifest(redis.Resource).
DefaultTimeout
();
PublishAsDockerfileTests.cs (3)
22
var manifest = await ManifestUtils.GetManifest(frontend.Resource).
DefaultTimeout
();
57
var manifest = await ManifestUtils.GetManifest(frontend.Resource).
DefaultTimeout
();
95
var manifest = await ManifestUtils.GetManifest(frontend.Resource).
DefaultTimeout
();
ResourceLoggerServiceTests.cs (12)
33
var allLogs = await logsLoop.
DefaultTimeout
();
46
allLogs = await logsLoop.
DefaultTimeout
();
77
var allLogs = await logsLoop.
DefaultTimeout
();
88
allLogs = await logsLoop.
DefaultTimeout
();
114
var allLogs = await logsLoop.
DefaultTimeout
();
127
allLogs = await logsLoop.
DefaultTimeout
();
141
allLogs = await logsLoop.
DefaultTimeout
();
166
var allLogs = await logsLoop.
DefaultTimeout
();
175
allLogs = await logsLoop.
DefaultTimeout
();
185
allLogs = await logsLoop.
DefaultTimeout
();
204
allLogs = await logsLoop.
DefaultTimeout
();
238
var allLogs = await logsLoop.
DefaultTimeout
();
ResourceNotificationTests.cs (5)
75
var values = await enumerableTask.
DefaultTimeout
();
130
var values = await enumerableTask.
DefaultTimeout
();
260
}).
DefaultTimeout
();
275
}).
DefaultTimeout
();
292
}).
DefaultTimeout
();
WithEndpointTests.cs (9)
272
var manifest = await ManifestUtils.GetManifest(container.Resource).
DefaultTimeout
();
300
var manifest = await ManifestUtils.GetManifest(container.Resource).
DefaultTimeout
();
327
var manifest = await ManifestUtils.GetManifest(container.Resource).
DefaultTimeout
();
354
var manifest = await ManifestUtils.GetManifest(container.Resource).
DefaultTimeout
();
381
var manifest = await ManifestUtils.GetManifest(container.Resource).
DefaultTimeout
();
408
var manifest = await ManifestUtils.GetManifest(container.Resource).
DefaultTimeout
();
435
var manifest = await ManifestUtils.GetManifest(container.Resource).
DefaultTimeout
();
466
var manifest = await ManifestUtils.GetManifest(project.Resource).
DefaultTimeout
();
536
var manifest = await ManifestUtils.GetManifest(project.Resource).
DefaultTimeout
();
WithEnvironmentTests.cs (1)
150
)).
DefaultTimeout
();
WithReferenceTests.cs (2)
140
}).
DefaultTimeout
();
173
}).
DefaultTimeout
();