X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fdistribution%2Fsanitytest%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsanitytest%2Finternal%2FActivator.java;h=65bc3800311c97ff5cc170e0a8d2ec2498adf99b;hb=refs%2Fchanges%2F61%2F1661%2F5;hp=262884fa3545ba5e8ac9ee91eb720b86e609c8f7;hpb=013a2eca5cadf27c1e6298daf93928fe00b8d29e;p=controller.git 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 262884fa35..65bc380031 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 @@ -27,14 +27,13 @@ public class Activator implements BundleActivator { public void start(final BundleContext bundleContext) throws Exception { Timer monitorTimer = new Timer("monitor timer", true); - monitorTimer.schedule(new TimerTask() { @Override public void run() { boolean failed = false; for(Bundle bundle : bundleContext.getBundles()){ if(bundle.getState() != Bundle.ACTIVE && bundle.getState() != Bundle.RESOLVED) { - System.out.println("Failed to activate/resolve bundle = " + bundle.getSymbolicName() + " state = " + stateToString(bundle.getState())); + System.out.println("------ Failed to activate/resolve bundle = " + bundle.getSymbolicName() + " state = " + stateToString(bundle.getState())); failed = true; } }