configure AutoDowning to accelarate node removal in tests (#31223)

This commit is contained in:
Renato Cavalcanti 2022-03-09 15:46:23 +01:00 committed by GitHub
parent f2bd251e19
commit bce426937d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -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 * 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 * Note that the two versions of config are validated against each other and have to
* be valid both ways: v1 => v2, v2 => v1. * be valid both ways: v1 => v2, v2 => v1.

View file

@ -18,6 +18,8 @@ object JoinConfigCompatCheckerRollingUpdateSpec {
akka.log-dead-letters = off akka.log-dead-letters = off
akka.log-dead-letters-during-shutdown = off akka.log-dead-letters-during-shutdown = off
akka.remote.log-remote-lifecycle-events = 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 { akka.cluster {
jmx.enabled = off jmx.enabled = off
gossip-interval = 200 ms gossip-interval = 200 ms