Modifier and Type | Method and Description |
---|---|
ShutdownStrategy |
DockerComposeRule.shutdownStrategy() |
Modifier and Type | Field and Description |
---|---|
static ShutdownStrategy |
ShutdownStrategy.AGGRESSIVE
Deprecated.
Use
KILL_DOWN (the default strategy) |
static ShutdownStrategy |
ShutdownStrategy.AGGRESSIVE_WITH_NETWORK_CLEANUP
Deprecated.
Use
KILL_DOWN (the default strategy) |
static ShutdownStrategy |
ShutdownStrategy.GRACEFUL
Call docker-compose down, kill, then rm.
|
static ShutdownStrategy |
ShutdownStrategy.KILL_DOWN
Call docker-compose kill then down.
|
static ShutdownStrategy |
ShutdownStrategy.SKIP
Skip shutdown, leaving containers running after tests finish executing.
|
Modifier and Type | Class and Description |
---|---|
class |
AggressiveShutdownStrategy
Deprecated.
Use
KILL_DOWN |
class |
AggressiveShutdownWithNetworkCleanupStrategy
Deprecated.
Use
KILL_DOWN |
class |
GracefulShutdownStrategy
Send SIGTERM to containers first, allowing them up to 10 seconds to
terminate before killing and rm-ing them.
|
class |
KillDownShutdownStrategy
Shuts down fast but cleanly by issuing a kill (fast shutdown) followed by a down (thorough cleanup)
|
class |
SkipShutdownStrategy |
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.