Reduce timeout
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 4 Jun 2009 17:48:50 +0000 (17:48 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 4 Jun 2009 17:48:50 +0000 (17:48 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@2471 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

runtime/org.argeo.slc.support.equinox/src/test/java/org/argeo/slc/osgi/test/AbstractOsgiRuntimeTestCase.java

index 88c9f1af54dd14be9e2d454a2109c4bbe7536519..36a0da9f486b3554f90cfd9e307207ff852d2230 100644 (file)
@@ -127,12 +127,11 @@ public abstract class AbstractOsgiRuntimeTestCase extends TestCase {
                                if (bundlesToStart.contains(bundle.getSymbolicName())
                                                && bundle.getState() != Bundle.ACTIVE) {
                                        allBundlesOk = false;
-                                       badBundles
-                                                       .append(OsgiStringUtils
-                                                                       .nullSafeSymbolicName(bundle)
-                                                                       + " ["
-                                                                       + OsgiStringUtils
-                                                                                       .bundleStateAsString(bundle) + "]\n");
+                                       badBundles.append(OsgiStringUtils
+                                                       .nullSafeSymbolicName(bundle)
+                                                       + " ["
+                                                       + OsgiStringUtils.bundleStateAsString(bundle)
+                                                       + "]\n");
                                }
                        }
 
@@ -213,9 +212,9 @@ public abstract class AbstractOsgiRuntimeTestCase extends TestCase {
                return osgiBoot.getBundleContext();
        }
 
-       /** Default is 120s */
+       /** Default is 30s */
        protected long getResolvedTimeout() {
-               return 120 * 1000l;
+               return 30 * 1000l;
        }
 
        /** Default is 10s */