jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1514323 - /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/RootFuzzIT.java
Date Thu, 15 Aug 2013 15:28:44 GMT
Author: mduerig
Date: Thu Aug 15 15:28:43 2013
New Revision: 1514323

URL: http://svn.apache.org/r1514323
Log:
OAK-961 Parametrise tests to run against all Microkernel backends
Add flag for enabling disabled tests

Modified:
    jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/RootFuzzIT.java

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/RootFuzzIT.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/RootFuzzIT.java?rev=1514323&r1=1514322&r2=1514323&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/RootFuzzIT.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/RootFuzzIT.java
Thu Aug 15 15:28:43 2013
@@ -77,6 +77,12 @@ public class RootFuzzIT {
             RootFuzzIT.class.getSimpleName() + "-seed",
             new Random().nextInt());
 
+    private static boolean EXECUTE_MONGO_MK = Boolean.getBoolean(
+            RootFuzzIT.class.getSimpleName() + "-with-mongo-mk");
+
+    private static boolean EXECUTE_SEGMENT_MK = Boolean.getBoolean(
+            RootFuzzIT.class.getSimpleName() + "-with-segment-mk");
+
     private static final Random random = new Random(SEED);
 
     private final NodeStoreFixture fixture;
@@ -119,8 +125,8 @@ public class RootFuzzIT {
 
     @Test
     public void fuzzTest() throws Exception {
-        assumeTrue(fixture != NodeStoreFixture.MONGO_MK);
-        assumeTrue(fixture != NodeStoreFixture.SEGMENT_MK);
+        assumeTrue(fixture != NodeStoreFixture.MONGO_MK || EXECUTE_MONGO_MK);
+        assumeTrue(fixture != NodeStoreFixture.SEGMENT_MK || EXECUTE_SEGMENT_MK);
 
         for (Operation op : operations(OP_COUNT)) {
             log.info("{}", op);



Mime
View raw message