jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1170095 - /jackrabbit/sandbox/microkernel/src/test/java/org/apache/jackrabbit/mk/util/CommitGateTest.java
Date Tue, 13 Sep 2011 09:05:19 GMT
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);
     }
 
 }



Mime
View raw message