Make multi node tests use the within() aware barrier
This commit is contained in:
parent
463e62926e
commit
5714d8327f
25 changed files with 90 additions and 90 deletions
|
|
@ -44,7 +44,7 @@ abstract class NodeLeavingSpec
|
|||
runOn(first) {
|
||||
cluster.leave(secondAddress)
|
||||
}
|
||||
testConductor.enter("second-left")
|
||||
enter("second-left")
|
||||
|
||||
runOn(first, third) {
|
||||
awaitCond(cluster.latestGossip.members.exists(_.status == MemberStatus.Leaving))
|
||||
|
|
@ -54,7 +54,7 @@ abstract class NodeLeavingSpec
|
|||
hasLeft.get.address must be(secondAddress)
|
||||
}
|
||||
|
||||
testConductor.enter("finished")
|
||||
enter("finished")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue