We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2f5717 commit fd87bb8Copy full SHA for fd87bb8
1 file changed
src/Testcontainers.Nats/NatsBuilder.cs
@@ -110,7 +110,8 @@ protected override NatsBuilder Init()
110
.WithCommand("--debug")
111
.WithCommand("--trace")
112
.WithConnectionStringProvider(new NatsConnectionStringProvider())
113
- .WithWaitStrategy(Wait.ForUnixContainer().UntilMessageIsLogged("Server is ready"));
+ .WithWaitStrategy(Wait.ForUnixContainer().UntilHttpRequestIsSucceeded(request =>
114
+ request.ForPath("/healthz").ForPort(NatsHttpManagementPort)));
115
}
116
117
/// <inheritdoc />
0 commit comments