incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r813786 - /sling/trunk/installer/jcr/jcrinstall/src/test/java/org/apache/sling/jcr/jcrinstall/impl/MiscUtil.java
Date Fri, 11 Sep 2009 11:54:56 GMT
Author: bdelacretaz
Date: Fri Sep 11 11:54:54 2009
New Revision: 813786

URL: http://svn.apache.org/viewvc?rev=813786&view=rev
Log:
SLING-1078 - safer timings

Modified:
    sling/trunk/installer/jcr/jcrinstall/src/test/java/org/apache/sling/jcr/jcrinstall/impl/MiscUtil.java

Modified: sling/trunk/installer/jcr/jcrinstall/src/test/java/org/apache/sling/jcr/jcrinstall/impl/MiscUtil.java
URL: http://svn.apache.org/viewvc/sling/trunk/installer/jcr/jcrinstall/src/test/java/org/apache/sling/jcr/jcrinstall/impl/MiscUtil.java?rev=813786&r1=813785&r2=813786&view=diff
==============================================================================
--- sling/trunk/installer/jcr/jcrinstall/src/test/java/org/apache/sling/jcr/jcrinstall/impl/MiscUtil.java
(original)
+++ sling/trunk/installer/jcr/jcrinstall/src/test/java/org/apache/sling/jcr/jcrinstall/impl/MiscUtil.java
Fri Sep 11 11:54:54 2009
@@ -150,9 +150,9 @@
         // First wait for all JCR events to be delivered
         eventHelper.waitForEvents(5000L);
         // RescanTimer causes a SCAN_DELAY_MSEC wait after JCR events are received
-        Thread.sleep(RescanTimer.SCAN_DELAY_MSEC * 2);
-        // And wait for one JcrInstaller run cycle
-        MiscUtil.waitForCycles(installer, startCycles, 1, 5000L);
+        Thread.sleep(RescanTimer.SCAN_DELAY_MSEC * 4);
+        // And wait for a few JcrInstaller run cycles
+        MiscUtil.waitForCycles(installer, startCycles, 2, 10000L);
     }
     
     /** Wait until installer thread exits */



Mime
View raw message