From: Ed Warnicke Date: Thu, 17 Oct 2013 15:16:40 +0000 (-0500) Subject: Slight fix to actually handle exception in Sanitytest. X-Git-Tag: jenkins-controller-bulk-release-prepare-only-2-1~610 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=a8b7abfc3be9296ff0310b1b11c61a31b1f08d58 Slight fix to actually handle exception in Sanitytest. Actually handle Thread.sleep InteruptException Change-Id: I43ed0d976da336cfd71071e1d4196a24b031e01b Signed-off-by: Ed Warnicke --- 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;