Package | Description |
---|---|
org.testcontainers.containers | |
org.testcontainers.containers.startupcheck |
Modifier and Type | Method and Description |
---|---|
SELF |
GenericContainer.withStartupCheckStrategy(StartupCheckStrategy strategy)
Set the startup check strategy used for checking whether the container has started.
|
SELF |
Container.withStartupCheckStrategy(StartupCheckStrategy strategy)
Set the startup check strategy used for checking whether the container has started.
|
Modifier and Type | Class and Description |
---|---|
class |
IndefiniteWaitOneShotStartupCheckStrategy
Variant of
OneShotStartupCheckStrategy that does not impose a timeout. |
class |
IsRunningStartupCheckStrategy
Simplest possible implementation of
StartupCheckStrategy - just check that the container
has reached the running state and has not exited. |
class |
MinimumDurationRunningStartupCheckStrategy
Implementation of
StartupCheckStrategy that checks the container is running and has been running for
a defined minimum period of time. |
class |
OneShotStartupCheckStrategy
Implementation of
StartupCheckStrategy intended for use with containers that only run briefly and
exit of their own accord. |
Copyright © 2016. All rights reserved.