mirror of
https://github.com/alex289/CleanArchitecture.git
synced 2025-06-29 18:21:08 +00:00
fix: Allow services to get healthy
This commit is contained in:
parent
74549806d6
commit
f17112657c
@ -17,6 +17,9 @@ public sealed class HealthChecksTests
|
||||
[Test, Order(0)]
|
||||
public async Task Should_Return_Healthy()
|
||||
{
|
||||
// Wait some time to let the services get healthy
|
||||
await Task.Delay(2000);
|
||||
|
||||
var response = await _fixture.ServerClient.GetAsync("/healthz");
|
||||
response.StatusCode.ShouldBe(HttpStatusCode.OK);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user