testcontainers-go icon indicating copy to clipboard operation
testcontainers-go copied to clipboard

[Enhancement]: Add param to extend the timeout on startup

Open wildum opened this issue 4 months ago • 0 comments

Proposal

In my tests the LGTM test containers stack times out because it sometimes takes slightly more than a minute to be ready, and the default timeout for wait.ForLog is 60s.

WaitingFor: wait.ForLog(".*The OpenTelemetry collector and the Grafana LGTM stack are up and running.*\\s").AsRegexp().WithOccurrence(1),

It would be nice to have the possibility to set WithStartupTimeout to it or at least of a bigger default

wildum avatar Jun 18 '25 07:06 wildum