Changes based on review. See #2230
This commit is contained in:
parent
4e49b2c843
commit
9710cceacb
1 changed files with 1 additions and 2 deletions
|
|
@ -268,8 +268,7 @@ abstract class MultiNodeSpec(val myself: RoleName, _system: ActorSystem, _roles:
|
|||
testConductor.removeNode(myself)
|
||||
within(testConductor.Settings.BarrierTimeout.duration) {
|
||||
awaitCond {
|
||||
val nodes = testConductor.getNodes.await
|
||||
nodes.size < 1 || (nodes.size == 1 && nodes.head == myself)
|
||||
testConductor.getNodes.await.filterNot(_ == myself).isEmpty
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue