withStartupTimeout method

GenericContainer withStartupTimeout(
  1. Duration timeout
)

How long the wait strategy may take (60 seconds by default); the image pull is not counted.

Implementation

GenericContainer withStartupTimeout(Duration timeout) {
  _timeout = timeout;
  return this;
}