From d4f759646ca4355590cbfd63aa5e2ff4b8148268 Mon Sep 17 00:00:00 2001 From: Viktor Klang Date: Tue, 3 Jul 2012 21:26:05 +0200 Subject: [PATCH] Prolonging the timeouts for the ProducerRegistryTest --- .../src/test/scala/akka/camel/ProducerRegistryTest.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-camel/src/test/scala/akka/camel/ProducerRegistryTest.scala b/akka-camel/src/test/scala/akka/camel/ProducerRegistryTest.scala index 8355906c80..876e0cc47a 100644 --- a/akka-camel/src/test/scala/akka/camel/ProducerRegistryTest.scala +++ b/akka-camel/src/test/scala/akka/camel/ProducerRegistryTest.scala @@ -19,10 +19,10 @@ class ProducerRegistryTest extends WordSpec with MustMatchers with SharedCamelSy "register a started SendProcessor for the producer, which is stopped when the actor is stopped" in { val actorRef = newEmptyActor val processor = registerProcessorFor(actorRef) - camel.awaitActivation(actorRef, 1 second) + camel.awaitActivation(actorRef, 5 second) processor.isStarted must be(true) system.stop(actorRef) - camel.awaitDeactivation(actorRef, 1 second) + camel.awaitDeactivation(actorRef, 5 second) (processor.isStopping || processor.isStopped) must be(true) } "remove and stop the SendProcessor if the actorRef is registered" in {