limit cross dc gossip #23282

This commit is contained in:
Johan Andrén 2017-07-07 13:19:10 +01:00 committed by GitHub
parent b568975acc
commit c0d439eac3
14 changed files with 549 additions and 174 deletions

View file

@ -58,14 +58,6 @@ abstract class MultiDcSplitBrainSpec
testConductor.blackhole(dc1Node, dc2Node, Direction.Both).await
}
}
runOn(dc1: _*) {
awaitAssert(clusterView.unreachableMembers.map(_.address) should contain allElementsOf (dc2.map(address)))
}
runOn(dc2: _*) {
awaitAssert(clusterView.unreachableMembers.map(_.address) should contain allElementsOf (dc1.map(address)))
}
}
def unsplitDataCenters(dc1: Seq[RoleName], dc2: Seq[RoleName]): Unit = {
@ -78,9 +70,6 @@ abstract class MultiDcSplitBrainSpec
}
}
runOn(dc1 ++ dc2: _*) {
awaitAssert(clusterView.unreachableMembers.map(_.address) should be(empty))
}
}
"A cluster with multiple data centers" must {