configure AutoDowning to accelarate node removal in tests (#31223)
This commit is contained in:
parent
f2bd251e19
commit
bce426937d
2 changed files with 3 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ abstract class RollingUpgradeClusterSpec(config: Config) extends AkkaSpec(config
|
|||
|
||||
/**
|
||||
* Starts the given `size` number of nodes and forms a cluster. Shuffles the order
|
||||
* of nodes randomly and restarts the tail using the update `v2Config` config.
|
||||
* of nodes randomly and restarts the tail using the `upgradeConfig`.
|
||||
*
|
||||
* Note that the two versions of config are validated against each other and have to
|
||||
* be valid both ways: v1 => v2, v2 => v1.
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@ object JoinConfigCompatCheckerRollingUpdateSpec {
|
|||
akka.log-dead-letters = off
|
||||
akka.log-dead-letters-during-shutdown = off
|
||||
akka.remote.log-remote-lifecycle-events = off
|
||||
akka.cluster.downing-provider-class = akka.cluster.testkit.AutoDowning
|
||||
akka.cluster.testkit.auto-down-unreachable-after = 0s
|
||||
akka.cluster {
|
||||
jmx.enabled = off
|
||||
gossip-interval = 200 ms
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue