[jboss-cvs] JBossAS SVN: r94354 - projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/test/java/org/jboss/test/osgi.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Oct 5 07:05:03 EDT 2009
Author: thomas.diesler at jboss.com
Date: 2009-10-05 07:05:03 -0400 (Mon, 05 Oct 2009)
New Revision: 94354
Modified:
projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/test/java/org/jboss/test/osgi/OSGiTestCase.java
Log:
Timeout for event delivery: 2 sec
Modified: projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/test/java/org/jboss/test/osgi/OSGiTestCase.java
===================================================================
--- projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/test/java/org/jboss/test/osgi/OSGiTestCase.java 2009-10-05 11:02:46 UTC (rev 94353)
+++ projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/test/java/org/jboss/test/osgi/OSGiTestCase.java 2009-10-05 11:05:03 UTC (rev 94354)
@@ -532,7 +532,9 @@
@SuppressWarnings("unchecked")
private void waitForEvents(List events) throws InterruptedException
{
- int timeout = 50;
+ // Timeout for event delivery: 2 sec
+ int timeout = 20;
+
while (events.size() == 0 && 0 < timeout)
{
synchronized (events)
More information about the jboss-cvs-commits
mailing list