jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1485171 - /jackrabbit/oak/trunk/oak-lucene/src/test/java/org/apache/jackrabbit/oak/jcr/query/MultiSessionQueryTest.java
Date Wed, 22 May 2013 12:07:38 GMT
Author: jukka
Date: Wed May 22 12:07:38 2013
New Revision: 1485171

URL: http://svn.apache.org/r1485171
Log:
OAK-837: Lucene: colliding concurrency node creation

JUnit complains if there ar not tests in a test class, so use a different way to disable the
test

Modified:
    jackrabbit/oak/trunk/oak-lucene/src/test/java/org/apache/jackrabbit/oak/jcr/query/MultiSessionQueryTest.java

Modified: jackrabbit/oak/trunk/oak-lucene/src/test/java/org/apache/jackrabbit/oak/jcr/query/MultiSessionQueryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-lucene/src/test/java/org/apache/jackrabbit/oak/jcr/query/MultiSessionQueryTest.java?rev=1485171&r1=1485170&r2=1485171&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-lucene/src/test/java/org/apache/jackrabbit/oak/jcr/query/MultiSessionQueryTest.java
(original)
+++ jackrabbit/oak/trunk/oak-lucene/src/test/java/org/apache/jackrabbit/oak/jcr/query/MultiSessionQueryTest.java
Wed May 22 12:07:38 2013
@@ -27,9 +27,13 @@ import org.apache.jackrabbit.core.query.
  */
 public class MultiSessionQueryTest extends AbstractQueryTest {
 
+    private static final boolean DISABLED = true;
+
     final static int THREAD_COUNT = 3;
 
-    public void disabledTestConcurrent() throws Exception {
+    public void testConcurrent() throws Exception {
+        if (DISABLED) { return; } // test disabled for now
+
         final Exception[] ex = new Exception[1];
         Thread[] threads = new Thread[THREAD_COUNT];
         for (int i = 0; i < THREAD_COUNT; i++) {



Mime
View raw message