Allow barrier timeouts to be shortened and other review fixes
This commit is contained in:
parent
b52da8d588
commit
fd42c3d49a
32 changed files with 395 additions and 267 deletions
|
|
@ -44,7 +44,7 @@ abstract class NodeLeavingSpec
|
|||
runOn(first) {
|
||||
cluster.leave(secondAddress)
|
||||
}
|
||||
enter("second-left")
|
||||
enterBarrier("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)
|
||||
}
|
||||
|
||||
enter("finished")
|
||||
enterBarrier("finished")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue