Author: cziegeler
Date: Wed Jan 26 19:56:20 2011
New Revision: 1063855

URL: http://svn.apache.org/viewvc?rev=1063855&view=rev
Log:
SLING-1955 : Event Support Unit Tests stall in full trunk build

Modified:
    
sling/trunk/bundles/extensions/event/src/test/java/org/apache/sling/event/impl/jobs/JobEventHandlerTest.java

Modified: 
sling/trunk/bundles/extensions/event/src/test/java/org/apache/sling/event/impl/jobs/JobEventHandlerTest.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/event/src/test/java/org/apache/sling/event/impl/jobs/JobEventHandlerTest.java?rev=1063855&r1=1063854&r2=1063855&view=diff
==============================================================================
--- 
sling/trunk/bundles/extensions/event/src/test/java/org/apache/sling/event/impl/jobs/JobEventHandlerTest.java
 (original)
+++ 
sling/trunk/bundles/extensions/event/src/test/java/org/apache/sling/event/impl/jobs/JobEventHandlerTest.java
 Wed Jan 26 19:56:20 2011
@@ -640,7 +640,7 @@ public class JobEventHandlerTest extends
     /**
      * Test sending of jobs with and without a processor
      */
-    @org.junit.Test(timeout=1000*60*4) public void testNoJobProcessor() throws 
Exception {
+    @org.junit.Test(timeout=1000*60*5) public void testNoJobProcessor() throws 
Exception {
         final PersistenceHandler jeh = this.handler;
         final AtomicInteger count = new AtomicInteger(0);
         final AtomicInteger unprocessedCount = new AtomicInteger(0);
@@ -697,7 +697,7 @@ public class JobEventHandlerTest extends
             }
         }
         // clean up waits for one minute, so we should do the same
-        while ( System.currentTimeMillis() - startTime < 61000 ) {
+        while ( System.currentTimeMillis() - startTime < 72000 ) {
             try {
                 Thread.sleep(100);
             } catch (InterruptedException ie) {


Reply via email to