=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:
Patrik Nordwall 2015-09-09 14:36:03 +02:00
parent 590f819289
commit e5159eb764

View file

@ -125,7 +125,7 @@ abstract class ClusterShardingLeavingSpec(config: ClusterShardingLeavingSpecConf
runOn(from) {
cluster join node(to).address
startSharding()
within(5.seconds) {
within(15.seconds) {
awaitAssert(cluster.state.members.exists { m
m.uniqueAddress == cluster.selfUniqueAddress && m.status == MemberStatus.Up
} should be(true))