Widen timeout to fix ClusterShardingPersistenceSpec #25936

This commit is contained in:
Arnout Engelen 2018-12-04 12:29:27 +01:00
parent 52af98f1da
commit e761a072fe

View file

@ -183,7 +183,7 @@ class ClusterShardingPersistenceSpec extends ScalaTestWithActorTestKit(ClusterSh
(1 to 10).foreach { n (1 to 10).foreach { n
ref ! PassivateAndPersist(n.toString)(p1.ref) ref ! PassivateAndPersist(n.toString)(p1.ref)
// recoveryCompleted each time, verifies that it was actually stopped // 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) p1.expectMessage(Done)
} }