jackrabbit-oak-commits mailing list archives

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

URL: http://svn.apache.org/r1514327
Log:
OAK-961 Parametrise tests to run against all Microkernel backends
set seed for each parametrised run

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=1514327&r1=1514326&r2=1514327&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:39:23 2013
@@ -83,7 +83,7 @@ public class RootFuzzIT {
     private static boolean EXECUTE_SEGMENT_MK = Boolean.getBoolean(
             RootFuzzIT.class.getSimpleName() + "-with-segment-mk");
 
-    private static final Random random = new Random(SEED);
+    private static final Random random = new Random();
 
     private final NodeStoreFixture fixture;
 
@@ -104,6 +104,7 @@ public class RootFuzzIT {
         log.info("Running " + getClass().getSimpleName() + " with " +
                 fixture + " and seed " + SEED);
 
+        random.setSeed(SEED);
         counter = 0;
 
         store1 = fixture.createNodeStore();



Mime
View raw message