MCPcopy Index your code
hub / github.com/testcontainers/testcontainers-go / WithStartupTimeout

Method WithStartupTimeout

wait/sql.go:43–46  ·  view source on GitHub ↗

WithStartupTimeout can be used to change the default startup timeout

(timeout time.Duration)

Source from the content-addressed store, hash-verified

41
42// WithStartupTimeout can be used to change the default startup timeout
43func (w *waitForSQL) WithStartupTimeout(timeout time.Duration) *waitForSQL {
44 w.timeout = &timeout
45 return w
46}
47
48// WithPollInterval can be used to override the default polling interval of 100 milliseconds
49func (w *waitForSQL) WithPollInterval(pollInterval time.Duration) *waitForSQL {

Calls

no outgoing calls