jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1309745 - /jackrabbit/oak/trunk/oak-mk/src/test/java/org/apache/jackrabbit/mk/util/CommitGateTest.java
Date Thu, 05 Apr 2012 10:50:11 GMT
Author: jukka
Date: Thu Apr  5 10:50:11 2012
New Revision: 1309745

URL: http://svn.apache.org/viewvc?rev=1309745&view=rev
Log:
Disable assertion that depends on timing (doesn't work on a slow computer)

Modified:
    jackrabbit/oak/trunk/oak-mk/src/test/java/org/apache/jackrabbit/mk/util/CommitGateTest.java

Modified: jackrabbit/oak/trunk/oak-mk/src/test/java/org/apache/jackrabbit/mk/util/CommitGateTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mk/src/test/java/org/apache/jackrabbit/mk/util/CommitGateTest.java?rev=1309745&r1=1309744&r2=1309745&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mk/src/test/java/org/apache/jackrabbit/mk/util/CommitGateTest.java
(original)
+++ jackrabbit/oak/trunk/oak-mk/src/test/java/org/apache/jackrabbit/mk/util/CommitGateTest.java
Thu Apr  5 10:50:11 2012
@@ -59,7 +59,7 @@ public class CommitGateTest extends Test
             t.start();
         }
         Thread.sleep(waitMillis * 10);
-        assertTrue(threadCount < spurious.get());
+        // assertTrue(threadCount < spurious.get()); <- depends on timing
         assertEquals(10, tick.get());
         tick.set(0);
         spurious.set(0);



Mime
View raw message