WithStartupTimeout can be used to change the default startup timeout
(timeout time.Duration)
| 41 | |
| 42 | // WithStartupTimeout can be used to change the default startup timeout |
| 43 | func (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 |
| 49 | func (w *waitForSQL) WithPollInterval(pollInterval time.Duration) *waitForSQL { |
no outgoing calls