Author: thomas.diesler(a)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)
{
Show replies by date