2 writes to HealthStatus
Aspire.Hosting (2)
ApplicationModel\CustomResourceSnapshot.cs (2)
52
HealthStatus
= ComputeHealthStatus(_healthReports, value?.Text);
84
HealthStatus
= ComputeHealthStatus(value, State?.Text);
8 references to HealthStatus
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 (6)
Health\ResourceHealthCheckServiceTests.cs (4)
35
Assert.Null(startingEvent.Snapshot.
HealthStatus
);
43
Assert.Equal(HealthStatus.Healthy, healthyEvent.Snapshot.
HealthStatus
);
69
Assert.Null(startingEvent.Snapshot.
HealthStatus
);
78
Assert.Equal(HealthStatus.Unhealthy, runningEvent.Snapshot.
HealthStatus
);
ResourceNotificationTests.cs (2)
84
Assert.Null(c.Snapshot.
HealthStatus
);
92
Assert.Null(c.Snapshot.
HealthStatus
);