Skip to content

Commit 7bfbd47

Browse files
committed
single check is sufficient
1 parent bd9744c commit 7bfbd47

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

modules/nats/nats.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ func Run(ctx context.Context, img string, opts ...testcontainers.ContainerCustom
3333
Image: img,
3434
ExposedPorts: []string{defaultClientPort, defaultRoutingPort, defaultMonitoringPort},
3535
Cmd: []string{"-DV", "-js"},
36-
WaitingFor: wait.ForAll(
37-
wait.ForListeningPort(defaultClientPort),
38-
wait.ForLog("Server is ready"),
39-
),
36+
WaitingFor: wait.ForListeningPort(defaultClientPort),
4037
}
4138

4239
genericContainerReq := testcontainers.GenericContainerRequest{

0 commit comments

Comments
 (0)