Use awaitAssert in cluster tests, see #3168
This commit is contained in:
parent
118917d2be
commit
806fc0c525
20 changed files with 119 additions and 144 deletions
|
|
@ -64,7 +64,7 @@ abstract class NodeLeavingAndExitingSpec
|
|||
enterBarrier("second-left")
|
||||
|
||||
val expectedAddresses = roles.toSet map address
|
||||
awaitCond(clusterView.members.map(_.address) == expectedAddresses)
|
||||
awaitAssert(clusterView.members.map(_.address) must be(expectedAddresses))
|
||||
|
||||
// Verify that 'second' node is set to EXITING
|
||||
exitingLatch.await
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue