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 76f89fd commit dfa6496Copy full SHA for dfa6496
internal/testhelper/sqlrunner.go
@@ -33,7 +33,7 @@ func NewSQLRunnerContainer(t *testing.T) testcontainers.Container {
33
req := testcontainers.ContainerRequest{
34
Image: "ghcr.io/database-playground/sqlrunner-v2:main",
35
ExposedPorts: []string{"8080/tcp"},
36
- WaitingFor: wait.ForLog("Listening"),
+ WaitingFor: wait.ForHTTP("/healthz").WithPort("8080/tcp"),
37
}
38
sqlrunnerC, err := testcontainers.GenericContainer(ctx, testcontainers.GenericContainerRequest{
39
ContainerRequest: req,
0 commit comments