=cls #18176 Harden ClusterShardingLeavingSpec
In logs it is clear that the fourth node is moved to Up, but it takes more than 5 sec to disseminate that info
This commit is contained in:
parent
590f819289
commit
e5159eb764
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ abstract class ClusterShardingLeavingSpec(config: ClusterShardingLeavingSpecConf
|
||||||
runOn(from) {
|
runOn(from) {
|
||||||
cluster join node(to).address
|
cluster join node(to).address
|
||||||
startSharding()
|
startSharding()
|
||||||
within(5.seconds) {
|
within(15.seconds) {
|
||||||
awaitAssert(cluster.state.members.exists { m ⇒
|
awaitAssert(cluster.state.members.exists { m ⇒
|
||||||
m.uniqueAddress == cluster.selfUniqueAddress && m.status == MemberStatus.Up
|
m.uniqueAddress == cluster.selfUniqueAddress && m.status == MemberStatus.Up
|
||||||
} should be(true))
|
} should be(true))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue