aboutsummaryrefslogtreecommitdiffstats
path: root/dcae-analytics-cdap-tca/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'dcae-analytics-cdap-tca/src/main')
-rw-r--r--dcae-analytics-cdap-tca/src/main/java/org/onap/dcae/apod/analytics/cdap/tca/worker/TCADMaaPMockSubscriberWorker.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/dcae-analytics-cdap-tca/src/main/java/org/onap/dcae/apod/analytics/cdap/tca/worker/TCADMaaPMockSubscriberWorker.java b/dcae-analytics-cdap-tca/src/main/java/org/onap/dcae/apod/analytics/cdap/tca/worker/TCADMaaPMockSubscriberWorker.java
index e8130f3..155661c 100644
--- a/dcae-analytics-cdap-tca/src/main/java/org/onap/dcae/apod/analytics/cdap/tca/worker/TCADMaaPMockSubscriberWorker.java
+++ b/dcae-analytics-cdap-tca/src/main/java/org/onap/dcae/apod/analytics/cdap/tca/worker/TCADMaaPMockSubscriberWorker.java
@@ -120,6 +120,7 @@ public class TCADMaaPMockSubscriberWorker extends AbstractWorker {
Thread.sleep(subscriberPollingInterval);
} catch (InterruptedException e) {
LOG.error("Error while sleeping");
+ Thread.currentThread().interrupt();
throw new DCAEAnalyticsRuntimeException("Error while sleeping", LOG, e);
}
}