remove child in Terminated() processing, see #2391
This commit is contained in:
parent
7f1a4d3ab6
commit
d6f42ca344
9 changed files with 23 additions and 14 deletions
|
|
@ -182,7 +182,7 @@ public class FaultHandlingTestBase {
|
|||
final TestProbe probe = new TestProbe(system);
|
||||
probe.watch(child);
|
||||
child.tell(new IllegalArgumentException());
|
||||
probe.expectMsg(new Terminated(child, true));
|
||||
probe.expectMsg(new Terminated(child, true, 0));
|
||||
//#stop
|
||||
|
||||
//#escalate-kill
|
||||
|
|
@ -190,7 +190,7 @@ public class FaultHandlingTestBase {
|
|||
probe.watch(child);
|
||||
assert Await.result(ask(child, "get", 5000), timeout).equals(0);
|
||||
child.tell(new Exception());
|
||||
probe.expectMsg(new Terminated(child, true));
|
||||
probe.expectMsg(new Terminated(child, true, 0));
|
||||
//#escalate-kill
|
||||
|
||||
//#escalate-restart
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue