103 references to Healthy
Aspire.Azure.Messaging.WebPubSub (1)
Aspire.Azure.Search.Documents (1)
Aspire.Elastic.Clients.Elasticsearch (1)
Aspire.Hosting.Azure.Tests (3)
Aspire.Hosting.Elasticsearch (1)
Aspire.Hosting.Elasticsearch.Tests (1)
Aspire.Hosting.Garnet.Tests (1)
Aspire.Hosting.Kafka.Tests (1)
Aspire.Hosting.MongoDB.Tests (1)
Aspire.Hosting.MySql.Tests (1)
Aspire.Hosting.Nats (2)
Aspire.Hosting.Nats.Tests (1)
Aspire.Hosting.Oracle.Tests (1)
Aspire.Hosting.PostgreSQL.Tests (1)
Aspire.Hosting.Qdrant (1)
Aspire.Hosting.Qdrant.Tests (1)
Aspire.Hosting.RabbitMQ.Tests (1)
Aspire.Hosting.Redis.Tests (1)
Aspire.Hosting.SqlServer.Tests (1)
Aspire.Hosting.Tests (6)
Aspire.Hosting.Valkey.Tests (1)
Aspire.Milvus.Client (1)
Aspire.NATS.Net (2)
Aspire.Qdrant.Client (1)
Aspire.Seq (1)
CatalogDb (1)
HealthChecksSample (2)
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (15)
HealthCheckMiddlewareTests.cs (15)
171.AddCheck("Foo", () => HealthCheckResult.Healthy("A-ok!"))
172.AddCheck("Bar", () => HealthCheckResult.Healthy("A-ok!"))
173.AddCheck("Baz", () => HealthCheckResult.Healthy("A-ok!"));
204.AddCheck("Foo", () => HealthCheckResult.Healthy("A-ok!"))
206.AddCheck("Baz", () => HealthCheckResult.Healthy("A-ok!"));
237.AddAsyncCheck("Foo", () => Task.FromResult(HealthCheckResult.Healthy("A-ok!")))
239.AddAsyncCheck("Baz", () => Task.FromResult(HealthCheckResult.Healthy("A-ok!")));
270.AddAsyncCheck("Foo", () => Task.FromResult(HealthCheckResult.Healthy("A-ok!")))
272.AddAsyncCheck("Baz", () => Task.FromResult(HealthCheckResult.Healthy("A-ok!")));
316.AddAsyncCheck("Foo", () => Task.FromResult(HealthCheckResult.Healthy("A-ok!")))
318.AddAsyncCheck("Baz", () => Task.FromResult(HealthCheckResult.Healthy("A-ok!")));
353.AddAsyncCheck("Foo", () => Task.FromResult(HealthCheckResult.Healthy("A-ok!")))
355.AddAsyncCheck("Baz", () => Task.FromResult(HealthCheckResult.Healthy("A-ok!")));
490.AddAsyncCheck("Foo", () => Task.FromResult(HealthCheckResult.Healthy("A-ok!")))
493.AddAsyncCheck("Baz", () => Task.FromResult(HealthCheckResult.Healthy("A-ok!")));
Microsoft.Extensions.Diagnostics.HealthChecks.Common (3)
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (1)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (42)
DefaultHealthCheckServiceTest.cs (17)
34.AddCheck("Foo", new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy())))
35.AddCheck("Foo", new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy())))
36.AddCheck("Bar", new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy())))
37.AddCheck("Baz", new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy())))
38.AddCheck("Baz", new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy())));
74b.AddAsyncCheck("HealthyCheck", _ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage, data)), healthyCheckTags);
177b.AddAsyncCheck("HealthyCheck", _ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage, data)));
284b.AddAsyncCheck("Succeeds", ct => Task.FromResult(HealthCheckResult.Healthy()));
334return Task.FromResult(HealthCheckResult.Healthy());
501return HealthCheckResult.Healthy();
508return HealthCheckResult.Healthy();
542return HealthCheckResult.Healthy();
568return HealthCheckResult.Healthy();
668return Task.FromResult(HealthCheckResult.Healthy());
686return Task.FromResult(HealthCheckResult.Healthy());
704return Task.FromResult(HealthCheckResult.Healthy(data: data));
736return Task.FromResult(HealthCheckResult.Healthy(data: new Dictionary<string, object> { { "self", this } }));
HealthCheckPublisherHostedServiceTest.cs (20)
251instance: new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage))),
258instance: new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage))),
270instance: new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage))),
282instance: new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage))),
297return Task.FromResult(HealthCheckResult.Healthy(HealthyMessage));
310instance: new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage))),
322instance: new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage))),
334instance: new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage))),
346instance: new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage))),
526instance: new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage))),
533instance: new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage))),
545instance: new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage))),
557instance: new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage))),
572return Task.FromResult(HealthCheckResult.Healthy(HealthyMessage));
585instance: new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage))),
597instance: new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage))),
609instance: new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage))),
621instance: new DelegateHealthCheck(_ => Task.FromResult(HealthCheckResult.Healthy(HealthyMessage))),
749builder.AddCheck("one", () => { return HealthCheckResult.Healthy(); })
750.AddCheck("two", () => { return HealthCheckResult.Healthy(); });
OrleansServiceDefaults (1)
Playground.ServiceDefaults (1)
Seq.ServiceDefaults (1)
TestingAppHost1.ServiceDefaults (1)
TestShop.ServiceDefaults (1)