From a8b7abfc3be9296ff0310b1b11c61a31b1f08d58 Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Thu, 17 Oct 2013 10:16:40 -0500 Subject: [PATCH] Slight fix to actually handle exception in Sanitytest. Actually handle Thread.sleep InteruptException Change-Id: I43ed0d976da336cfd71071e1d4196a24b031e01b Signed-off-by: Ed Warnicke --- .../opendaylight/controller/sanitytest/internal/Activator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opendaylight/distribution/sanitytest/src/main/java/org/opendaylight/controller/sanitytest/internal/Activator.java b/opendaylight/distribution/sanitytest/src/main/java/org/opendaylight/controller/sanitytest/internal/Activator.java index d92277269a..267855236d 100644 --- a/opendaylight/distribution/sanitytest/src/main/java/org/opendaylight/controller/sanitytest/internal/Activator.java +++ b/opendaylight/distribution/sanitytest/src/main/java/org/opendaylight/controller/sanitytest/internal/Activator.java @@ -71,7 +71,8 @@ public class Activator implements BundleActivator { try { Thread.sleep(SUBSEQUENT_DELAY); } catch (Exception e) { - ; + System.out.println("Thread.sleep interuptted."); + break; } } else resolved = true; -- 2.36.6