From 9cedbd41c0ee3bade89de5d2e1e822cc4e9a36e7 Mon Sep 17 00:00:00 2001 From: ramverma Date: Fri, 5 Oct 2018 15:36:11 +0100 Subject: Fix sonar bugs in apex-pdp Change-Id: I1ab9b9d9b0b8d1655301959d7d6b9ab3cc87eba3 Issue-ID: POLICY-954 Signed-off-by: ramverma --- .../policy/apex/context/test/utils/ZooKeeperServerServiceProvider.java | 1 + 1 file changed, 1 insertion(+) (limited to 'context/context-test-utils/src/main/java') diff --git a/context/context-test-utils/src/main/java/org/onap/policy/apex/context/test/utils/ZooKeeperServerServiceProvider.java b/context/context-test-utils/src/main/java/org/onap/policy/apex/context/test/utils/ZooKeeperServerServiceProvider.java index 1c28388ad..1949769a6 100644 --- a/context/context-test-utils/src/main/java/org/onap/policy/apex/context/test/utils/ZooKeeperServerServiceProvider.java +++ b/context/context-test-utils/src/main/java/org/onap/policy/apex/context/test/utils/ZooKeeperServerServiceProvider.java @@ -89,6 +89,7 @@ public class ZooKeeperServerServiceProvider { catch (InterruptedException | IOException ie) { String message = "Zookeeper server start failed"; LOGGER.warn(message, ie); + Thread.currentThread().interrupt(); throw new ApexException(message, ie); } -- cgit 1.2.3-korg