Fixes according to review. #2413
This commit is contained in:
parent
08ef942242
commit
0988101881
7 changed files with 20 additions and 20 deletions
|
|
@ -202,8 +202,8 @@ public class UntypedActorDocTestBase {
|
|||
ActorRef actorRef = system.actorOf(new Props(MyUntypedActor.class));
|
||||
//#gracefulStop
|
||||
try {
|
||||
Future<Boolean> stopped = gracefulStop(actorRef,
|
||||
Duration.create(5, TimeUnit.SECONDS), system);
|
||||
Future<Boolean> stopped =
|
||||
gracefulStop(actorRef, Duration.create(5, TimeUnit.SECONDS), system);
|
||||
Await.result(stopped, Duration.create(6, TimeUnit.SECONDS));
|
||||
// the actor has been stopped
|
||||
} catch (AskTimeoutException e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue