Propagate TimeoutException when ActorSystem fails to terminate 54/87954/2
authorTibor Král <tibor.kral@pantheon.tech>
Thu, 6 Feb 2020 11:19:42 +0000 (12:19 +0100)
committerRobert Varga <nite@hq.sk>
Sat, 22 Feb 2020 09:52:20 +0000 (09:52 +0000)
commitbcae3b579eb9df02cedefb4abcfbed18870dc9f6
tree9ed3b59bae0afa9161077342efb9ae871a69d914
parentb02a9de061c71767ace2f1c84f7250999c8a6c41
Propagate TimeoutException when ActorSystem fails to terminate

ActorSystemProviderImpl waits 10s for the ActorSystem to terminate.
If this timeout is reached propagate the resulting TimeoutException
so the caller knows something went wrong.

JIRA: CONTROLLER-1929
Change-Id: I6518600e2930e3a0a955215b24a9b3074730ff64
Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
(cherry picked from commit e8215aef8cf2475512d7601fdaebcb1294e93fc7)
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/akka/impl/ActorSystemProviderImpl.java