31 references to Degraded
Aspire.Dashboard (1)
Aspire.Dashboard.Tests (1)
Aspire.Hosting (1)
Aspire.Hosting.Tests (1)
HealthChecksSample (1)
HealthChecksSandbox.AppHost (1)
Microsoft.AspNetCore.Diagnostics.HealthChecks (4)
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (5)
Microsoft.Extensions.Diagnostics.HealthChecks (1)
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (3)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (12)
DependencyInjection\HealthChecksBuilderTest.cs (8)
27services.AddHealthChecks().AddCheck("test", failureStatus: HealthStatus.Degraded, tags: new[] { "tag", }, instance: instance);
37Assert.Equal(HealthStatus.Degraded, registration.FailureStatus);
47services.AddHealthChecks().AddCheck<TestHealthCheck>("test", failureStatus: HealthStatus.Degraded, tags: new[] { "tag", });
57Assert.Equal(HealthStatus.Degraded, registration.FailureStatus);
70services.AddHealthChecks().AddCheck<TestHealthCheck>("test", failureStatus: HealthStatus.Degraded, tags: new[] { "tag", });
80Assert.Equal(HealthStatus.Degraded, registration.FailureStatus);
92.AddTypeActivatedCheck<TestHealthCheckWithArgs>("test", failureStatus: HealthStatus.Degraded, tags: new[] { "tag", }, args: new object[] { 5, "hi", });
102Assert.Equal(HealthStatus.Degraded, registration.FailureStatus);