[jboss-cvs] JBossAS SVN: r89554 - 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
Sat May 30 10:49:58 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-05-30 10:49:58 -0400 (Sat, 30 May 2009)
New Revision: 89554

Modified:
   projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/http/HttpServiceTestCase.java
Log:
Wait 10sec before accessing the http service. Jetty takes long to become available.

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-05-30 14:20:04 UTC (rev 89553)
+++ projects/jboss-osgi/trunk/testsuite/example/src/test/java/org/jboss/test/osgi/example/http/HttpServiceTestCase.java	2009-05-30 14:49:58 UTC (rev 89554)
@@ -57,7 +57,7 @@
       runtime.addCapability(new ConfigAdminCapability());
       runtime.addCapability(new HttpCapability());
 
-      Thread.sleep(2000);
+      Thread.sleep(10000);
 
       testBundle = runtime.installBundle("example-http.jar");
       testBundle.start();




More information about the jboss-cvs-commits mailing list