jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1309876 - /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateEditorFuzzTest.java
Date Thu, 05 Apr 2012 14:19:43 GMT
Author: mduerig
Date: Thu Apr  5 14:19:42 2012
New Revision: 1309876

URL: http://svn.apache.org/viewvc?rev=1309876&view=rev
Log:
OAK-9: Internal tree builder
Enable copy test. OAK-47 which was blocking this seems fixed

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

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateEditorFuzzTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateEditorFuzzTest.java?rev=1309876&r1=1309875&r2=1309876&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateEditorFuzzTest.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/kernel/KernelNodeStateEditorFuzzTest.java
Thu Apr  5 14:19:42 2012
@@ -302,9 +302,8 @@ public class KernelNodeStateEditorFuzzTe
                     op = createMoveNode();
                     break;
                 case 5:
-                    // todo: copy is currently broken due to OAK-47
-                    // op = createCopyNode();
-                    op = null;
+                    // Too many copy ops make the test way slow
+                    op = random.nextInt(10) == 0 ? createCopyNode() : null;
                     break;
                 case 6:
                     op = createAddProperty();



Mime
View raw message