jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1461440 - /jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/tck/TCKBase.java
Date Wed, 27 Mar 2013 08:17:39 GMT
Author: mreutegg
Date: Wed Mar 27 08:17:39 2013
New Revision: 1461440

URL: http://svn.apache.org/r1461440
Log:
OAK-588: Run oak-jcr tests on mongomk
- enable tests again with new MongoMK

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/tck/TCKBase.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/tck/TCKBase.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/tck/TCKBase.java?rev=1461440&r1=1461439&r2=1461440&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/tck/TCKBase.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/tck/TCKBase.java
Wed Mar 27 08:17:39 2013
@@ -18,6 +18,7 @@ package org.apache.jackrabbit.oak.jcr.tc
 
 import java.util.Properties;
 
+import org.apache.jackrabbit.oak.jcr.OakMongoMKRepositoryStub;
 import org.apache.jackrabbit.oak.jcr.OakRepositoryStub;
 import org.apache.jackrabbit.oak.jcr.OakSegmentMKRepositoryStub;
 import org.apache.jackrabbit.test.RepositoryHelper;
@@ -47,19 +48,17 @@ public abstract class TCKBase extends Te
             addTest(new Setup(OakSegmentMKRepositoryStub.class.getName()));
             addTests();
         }
-        // OAK-588: CI builds take too long with MongoMK
-        // -> disabled for now
-//        if (OakMongoMKRepositoryStub.isMongoDBAvailable()) {
-//            addTest(new Setup(OakMongoMKRepositoryStub.class.getName()));
-//            addTests();
-//        }
+        if (OakMongoMKRepositoryStub.isMongoDBAvailable()) {
+            addTest(new Setup(OakMongoMKRepositoryStub.class.getName()));
+            addTests();
+        }
     }
 
     abstract protected void addTests();
 
     /**
      * Setup test class to replace the RepositoryHelper. This is quite a hack
-     * be cause the existing TCK tests do not take parameters.
+     * because the existing TCK tests do not take parameters.
      */
     public static class Setup extends TestCase {
 



Mime
View raw message