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