flush messages on shutdown, #20811

* StreamSupervisor as system actor so that it is
  stopped after ordinary actors
* when transport is shutdown send flush message to all
  outbound associations (over control stream) and wait for ack
  or timeout
This commit is contained in:
Patrik Nordwall 2016-06-23 18:11:56 +02:00
parent d99274a51f
commit a021eb5ff4
8 changed files with 181 additions and 53 deletions

View file

@ -99,9 +99,6 @@ class RemoteRandomSpec(multiNodeConfig: RemoteRandomConfig) extends MultiNodeSpe
// "Terminate" to a shut down node
system.stop(actor)
enterBarrier("done")
// FIXME this test has problems shutting down actor system when running with Artery
// [akka.actor.ActorSystemImpl(RemoteRandomSpec)] Failed to stop [RemoteRandomSpec] within [5 seconds]
}
}
}