Stab at fixing more tests with timeout issues on Jenkins

This commit is contained in:
Viktor Klang 2012-07-24 14:26:22 +02:00
parent 386506727f
commit 8bca635279
3 changed files with 21 additions and 23 deletions

View file

@ -195,7 +195,7 @@ public class FaultHandlingTestBase {
//#escalate-restart
superprops = new Props(Supervisor2.class);
supervisor = system.actorOf(superprops, "supervisor2");
supervisor = system.actorOf(superprops);
child = (ActorRef) Await.result(ask(supervisor, new Props(Child.class), 5000), timeout);
child.tell(23);
assert Await.result(ask(child, "get", 5000), timeout).equals(23);