disable weakly-up for some tests

This commit is contained in:
Patrik Nordwall 2017-01-25 07:20:24 +01:00
parent 94e40460a4
commit 4703e30774
5 changed files with 9 additions and 2 deletions

View file

@ -24,6 +24,7 @@ object QuickRestartMultiJvmSpec extends MultiNodeConfig {
commonConfig(debugConfig(on = false).
withFallback(ConfigFactory.parseString("""
akka.cluster.auto-down-unreachable-after = off
akka.cluster.allow-weakly-up-members = off
""")).
withFallback(MultiNodeClusterSpec.clusterConfig))

View file

@ -30,6 +30,7 @@ object RestartFirstSeedNodeMultiJvmSpec extends MultiNodeConfig {
withFallback(ConfigFactory.parseString("""
akka.cluster.auto-down-unreachable-after = off
akka.cluster.retry-unsuccessful-join-after = 3s
akka.cluster.allow-weakly-up-members = off
""")).
withFallback(MultiNodeClusterSpec.clusterConfig))
}

View file

@ -28,9 +28,10 @@ object RestartNode2SpecMultiJvmSpec extends MultiNodeConfig {
withFallback(ConfigFactory.parseString("""
akka.cluster.auto-down-unreachable-after = 2s
akka.cluster.retry-unsuccessful-join-after = 3s
akka.cluster.allow-weakly-up-members = off
akka.remote.retry-gate-closed-for = 45s
akka.remote.log-remote-lifecycle-events = INFO
""")).
""")).
withFallback(MultiNodeClusterSpec.clusterConfig))
}

View file

@ -25,7 +25,10 @@ object RestartNode3MultiJvmSpec extends MultiNodeConfig {
val third = role("third")
commonConfig(debugConfig(on = false).
withFallback(ConfigFactory.parseString("akka.cluster.auto-down-unreachable-after = off")).
withFallback(ConfigFactory.parseString("""
akka.cluster.auto-down-unreachable-after = off
akka.cluster.allow-weakly-up-members = off
""")).
withFallback(MultiNodeClusterSpec.clusterConfig))
testTransport(on = true)

View file

@ -31,6 +31,7 @@ object RestartNodeMultiJvmSpec extends MultiNodeConfig {
commonConfig(debugConfig(on = false).
withFallback(ConfigFactory.parseString("""
akka.cluster.auto-down-unreachable-after = 5s
akka.cluster.allow-weakly-up-members = off
#akka.remote.use-passive-connections = off
""")).
withFallback(MultiNodeClusterSpec.clusterConfig))