From 373085385b30c0fa05b650c7eb733ca8e31ca328 Mon Sep 17 00:00:00 2001 From: Eliezio Oliveira Date: Mon, 10 Jun 2019 17:07:06 +0100 Subject: Fix interrupt state left ON on NetconfSessionImpl.syncRpc() Change-Id: Ib1a58ff94f88f352636b5f0af7a6fe5244a8fe7e Issue-ID: CCSDK-1455 Signed-off-by: Eliezio Oliveira --- .../functions/netconf/executor/core/NetconfSessionImpl.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/ms/blueprintsprocessor/functions/netconf-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/netconf/executor/core/NetconfSessionImpl.kt b/ms/blueprintsprocessor/functions/netconf-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/netconf/executor/core/NetconfSessionImpl.kt index b1121b3d4..4daaceeff 100644 --- a/ms/blueprintsprocessor/functions/netconf-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/netconf/executor/core/NetconfSessionImpl.kt +++ b/ms/blueprintsprocessor/functions/netconf-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/netconf/executor/core/NetconfSessionImpl.kt @@ -101,7 +101,6 @@ class NetconfSessionImpl(private val deviceInfo: DeviceInfo, private val rpcServ return streamHandler.getFutureFromSendMessage(streamHandler.sendMessage(formattedRequest, messageId), replyTimeout.toLong(), TimeUnit.SECONDS) } catch (e: InterruptedException) { - Thread.currentThread().interrupt() throw NetconfException("$deviceInfo: Interrupted while waiting for reply for request: $formattedRequest", e) } catch (e: TimeoutException) { throw NetconfException("$deviceInfo: Timed out while waiting for reply for request $formattedRequest after $replyTimeout sec.", -- cgit 1.2.3-korg