Slight fix to actually handle exception in Sanitytest. 72/1972/2
authorEd Warnicke <eaw@cisco.com>
Thu, 17 Oct 2013 15:16:40 +0000 (10:16 -0500)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 18 Oct 2013 19:45:13 +0000 (19:45 +0000)
Actually handle Thread.sleep InteruptException

Change-Id: I43ed0d976da336cfd71071e1d4196a24b031e01b
Signed-off-by: Ed Warnicke <eaw@cisco.com>
opendaylight/distribution/sanitytest/src/main/java/org/opendaylight/controller/sanitytest/internal/Activator.java

index d92277269a01f2f8fc3eac7df8af6d78f212bf22..267855236d5d36b094ed16c03215066617bdc8f5 100644 (file)
@@ -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;