6 references to WaitForResourceAsync
Aspire.Hosting.Elasticsearch.Tests (1)
ElasticsearchFunctionalTests.cs (1)
237
await rns.
WaitForResourceAsync
(resource.Resource.Name, (re => re.Snapshot.HealthStatus == Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus.Healthy), cts.Token);
Aspire.Hosting.Qdrant.Tests (1)
QdrantFunctionalTests.cs (1)
253
await rns.
WaitForResourceAsync
(resource.Resource.Name, (re => re.Snapshot.HealthStatus == HealthStatus.Healthy), cts.Token);
Aspire.Hosting.Tests (4)
Codespaces\CodespacesUrlRewriterTests.cs (1)
83
var resourceEvent = await rns.
WaitForResourceAsync
(
Health\ResourceHealthCheckServiceTests.cs (3)
34
var startingEvent = await rns.
WaitForResourceAsync
("resource", e => e.Snapshot.State?.Text == KnownResourceStates.Starting).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();