Merge pull request #26040 from akka/widenTimeoutClusterShardingPersistenceSpec

Widen timeout to fix ClusterShardingPersistenceSpec
This commit is contained in:
Patrik Nordwall 2018-12-04 13:38:27 +01:00 committed by GitHub
commit 134826afff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -183,7 +183,7 @@ class ClusterShardingPersistenceSpec extends ScalaTestWithActorTestKit(ClusterSh
(1 to 10).foreach { n
ref ! PassivateAndPersist(n.toString)(p1.ref)
// recoveryCompleted each time, verifies that it was actually stopped
recoveryProbe.expectMessage("recoveryCompleted:" + (1 until n).map(_.toString).mkString("|"))
recoveryProbe.expectMessage(max = 10.seconds, "recoveryCompleted:" + (1 until n).map(_.toString).mkString("|"))
p1.expectMessage(Done)
}