Increase timeout in RemotingSpec, see #3372

This commit is contained in:
Patrik Nordwall 2013-05-23 08:48:12 +02:00
parent f3f55d4972
commit a4a2d0500a

View file

@ -418,7 +418,7 @@ class RemotingSpec extends AkkaSpec(RemotingSpec.cfg) with ImplicitSender with D
expectMsg(57)
}
"not fail ask across node boundaries" in {
"not fail ask across node boundaries" in within(5.seconds) {
import system.dispatcher
val f = for (_ 1 to 1000) yield here ? "ping" mapTo manifest[(String, ActorRef)]
Await.result(Future.sequence(f), remaining).map(_._1).toSet must be(Set("pong"))