Durable pruning fail fix #29270
Failed once when the new cluster node had not joined the cluster yet, so start with waiting for that.
This commit is contained in:
parent
e4b4fc6d8c
commit
0921786512
1 changed files with 5 additions and 0 deletions
|
|
@ -169,6 +169,11 @@ class DurablePruningSpec extends MultiNodeSpec(DurablePruningSpec) with STMultiN
|
|||
val probe3 = TestProbe()(sys3)
|
||||
cluster3.join(node(first).address)
|
||||
|
||||
awaitAssert({
|
||||
cluster.state.members.exists(m =>
|
||||
m.uniqueAddress == cluster3.selfUniqueAddress && m.status == MemberStatus.Up) should ===(true)
|
||||
}, 10.seconds)
|
||||
|
||||
within(10.seconds) {
|
||||
var values = Set.empty[Int]
|
||||
awaitAssert {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue