fix shutdown race in sendControl, #21514 (#21517)

* fix shutdown race in sendControl, #21514

* the stack trace showed IllegalStateException: outboundControlIngress not initialized yet
  via the call to sendControl
* that could happen if there is a shutdown at the same time, which is exactly what the test does
* it was actually caused by a merge mistake, but now it got even better

* countDown latch on shutdown
This commit is contained in:
Patrik Nordwall 2016-09-22 11:07:17 +02:00 committed by GitHub
parent 1d3661b556
commit 455d6a45cc
3 changed files with 18 additions and 5 deletions

View file

@ -59,6 +59,10 @@ abstract class MultiNodeConfig {
log-received-messages = on
log-sent-messages = on
}
akka.remote.artery {
log-received-messages = on
log-sent-messages = on
}
akka.actor.debug {
receive = on
fsm = on