2 writes to HealthStatus
Aspire.Hosting (2)
ApplicationModel\CustomResourceSnapshot.cs (2)
53HealthStatus = ComputeHealthStatus(_healthReports, value?.Text); 85HealthStatus = ComputeHealthStatus(value, State?.Text);
8 references to HealthStatus
Aspire.Hosting.Elasticsearch.Tests (1)
ElasticsearchFunctionalTests.cs (1)
237await 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)
253await rns.WaitForResourceAsync(resource.Resource.Name, (re => re.Snapshot.HealthStatus == HealthStatus.Healthy), cts.Token);
Aspire.Hosting.Tests (6)
Health\ResourceHealthCheckServiceTests.cs (4)
35Assert.Null(startingEvent.Snapshot.HealthStatus); 43Assert.Equal(HealthStatus.Healthy, healthyEvent.Snapshot.HealthStatus); 69Assert.Null(startingEvent.Snapshot.HealthStatus); 78Assert.Equal(HealthStatus.Unhealthy, runningEvent.Snapshot.HealthStatus);
ResourceNotificationTests.cs (2)
84Assert.Null(c.Snapshot.HealthStatus); 92Assert.Null(c.Snapshot.HealthStatus);