You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by th...@apache.org on 2011/09/13 11:05:19 UTC

svn commit: r1170095 - /jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/util/CommitGateTest.java

Author: thomasm
Date: Tue Sep 13 09:05:19 2011
New Revision: 1170095

URL: http://svn.apache.org/viewvc?rev=1170095&view=rev
Log:
Make test case less strict.

Modified:
    jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/util/CommitGateTest.java

Modified: jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/util/CommitGateTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/util/CommitGateTest.java?rev=1170095&r1=1170094&r2=1170095&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/util/CommitGateTest.java (original)
+++ jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/util/CommitGateTest.java Tue Sep 13 09:05:19 2011
@@ -73,7 +73,7 @@ public class CommitGateTest extends Test
             j.join();
         }
         assertTrue("ticks: " + tick.get() + " min: " + threadCount * commitCount + " spurious: " + spurious.get(),
-                tick.get() >= threadCount * commitCount * 0.8 && tick.get() <= threadCount * commitCount * 1.2);
+                tick.get() >= threadCount * commitCount * 0.2 && tick.get() <= threadCount * commitCount * 1.2);
     }
 
 }