[jboss-cvs] JBossAS SVN: r93500 - projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/http.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Sep 14 15:33:57 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-09-14 15:33:57 -0400 (Mon, 14 Sep 2009)
New Revision: 93500

Modified:
   projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/http/HttpServiceTestCase.java
Log:
Give HttpService 5000ms for startup

Modified: projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/http/HttpServiceTestCase.java
===================================================================
--- projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/http/HttpServiceTestCase.java	2009-09-14 19:03:18 UTC (rev 93499)
+++ projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/http/HttpServiceTestCase.java	2009-09-14 19:33:57 UTC (rev 93500)
@@ -56,8 +56,8 @@
       runtime = new OSGiTestHelper().getDefaultRuntime();
       runtime.addCapability(new HttpCapability());
 
-      // Allow 2000ms for the HttpService to become available
-      long timeout = 10;
+      // Allow 5000ms for the HttpService to become available
+      long timeout = 25;
       OSGiServiceReference sref = runtime.getServiceReference(HttpService.class.getName());
       while (sref == null && (timeout--) > 0)
       {




More information about the jboss-cvs-commits mailing list