[jboss-cvs] JBossAS SVN: r93507 - 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 16:12:35 EDT 2009
Author: thomas.diesler at jboss.com
Date: 2009-09-14 16:12:35 -0400 (Mon, 14 Sep 2009)
New Revision: 93507
Modified:
projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/http/HttpServiceTestCase.java
Log:
Give HttpService 10s 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:53:03 UTC (rev 93506)
+++ projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/http/HttpServiceTestCase.java 2009-09-14 20:12:35 UTC (rev 93507)
@@ -56,8 +56,8 @@
runtime = new OSGiTestHelper().getDefaultRuntime();
runtime.addCapability(new HttpCapability());
- // Allow 5000ms for the HttpService to become available
- long timeout = 25;
+ // Allow 10s for the HttpService to become available
+ long timeout = 50;
OSGiServiceReference sref = runtime.getServiceReference(HttpService.class.getName());
while (sref == null && (timeout--) > 0)
{
More information about the jboss-cvs-commits
mailing list