Propagate TimeoutException when ActorSystem fails to terminate 53/87953/1
authorTibor Král <tibor.kral@pantheon.tech>
Thu, 6 Feb 2020 11:19:42 +0000 (12:19 +0100)
committerRobert Varga <nite@hq.sk>
Fri, 21 Feb 2020 05:13:25 +0000 (05:13 +0000)
commitb4d8af6a744eb5ab269079bfc9ecbbe5b4875a96
tree9a6356f3d084a285683683b962b32ab9ba31d043
parent8840c8ab76df5515c5ab76cf31c39845fbf9fe4b
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