#19046 replace system.{shutdown => terminate}
This commit is contained in:
parent
1ef35d907f
commit
3140e72265
57 changed files with 67 additions and 67 deletions
|
|
@ -64,7 +64,7 @@ public class ActorDocTest {
|
|||
|
||||
@AfterClass
|
||||
public static void afterClass() {
|
||||
system.shutdown();
|
||||
system.terminate();
|
||||
system.awaitTermination(Duration.create("5 seconds"));
|
||||
}
|
||||
|
||||
|
|
@ -314,7 +314,7 @@ public class ActorDocTest {
|
|||
swapper.tell(Swap, ActorRef.noSender()); // logs Ho
|
||||
swapper.tell(Swap, ActorRef.noSender()); // logs Hi
|
||||
swapper.tell(Swap, ActorRef.noSender()); // logs Ho
|
||||
system.shutdown();
|
||||
system.terminate();
|
||||
}
|
||||
}
|
||||
//#swapper
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ public class InitializationDocTest {
|
|||
|
||||
@AfterClass
|
||||
public static void afterClass() {
|
||||
system.shutdown();
|
||||
system.terminate();
|
||||
system.awaitTermination(Duration.create("5 seconds"));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue