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