Decides when a started container counts as ready for the test: a port that accepts connections, a log line, an HTTP answer, a health check.
Set one with GenericContainer.waitingFor; the Wait class makes the
ready-made ones. A strategy returns when the container is ready and
throws a ContainerLaunchException when it cannot become so.
Testcontainers (Java):
org.testcontainers.containers.wait.strategy.WaitStrategy.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
waitUntilReady(
WaitTarget target) → Future< void> -
Returns when
targetis ready, within WaitTarget.remaining.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited