Skip to content

Commit

Permalink
Fix one more test (#1933)
Browse files Browse the repository at this point in the history
  • Loading branch information
sungam3r authored Jul 19, 2023
1 parent 00b50ca commit 00e182e
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,16 @@ protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage reques
[Fact]
public async Task be_healthy_if_uri_is_available()
{
var uri = new Uri("https://httpbin.org/get");
var uri = new Uri("https://httpbin.org/get"); // does not matter

var webHostBuilder = new WebHostBuilder()
.ConfigureServices(services =>
{
services.AddHealthChecks()
.AddUrlGroup(uri, tags: new string[] { "uris" });
.AddUrlGroup(
uri,
configurePrimaryHttpMessageHandler: _ => new DelayStubMessageHandler(TimeSpan.Zero),
tags: new string[] { "uris" });
})
.Configure(app =>
{
Expand Down

0 comments on commit 00e182e

Please sign in to comment.