commit | c5783598a378e13a289234c75622ea883413e97d | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Fri Dec 05 11:13:29 2014 -0800 |
committer | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Fri Dec 05 11:13:29 2014 -0800 |
tree | 205be7cddf09bd19e1c2d8aef1c837ecf3f648c3 | |
parent | 24734390ec9f87e441a05dbb3e8fd60c43551b63 [diff] |
Logging bug fix fix for ONOS-435 Change-Id: I2766e7205ab6173abc427485ecb7697d2743b894
diff --git a/core/store/dist/src/main/java/org/onosproject/store/device/impl/GossipDeviceStore.java b/core/store/dist/src/main/java/org/onosproject/store/device/impl/GossipDeviceStore.java index b18462a..83664f2 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/device/impl/GossipDeviceStore.java +++ b/core/store/dist/src/main/java/org/onosproject/store/device/impl/GossipDeviceStore.java
@@ -206,8 +206,7 @@ backgroundExecutor.shutdownNow(); try { - boolean timedout = backgroundExecutor.awaitTermination(5, TimeUnit.SECONDS); - if (timedout) { + if (!backgroundExecutor.awaitTermination(5, TimeUnit.SECONDS)) { log.error("Timeout during executor shutdown"); } } catch (InterruptedException e) {