jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1512310 - /jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/RootTest.java
Date Fri, 09 Aug 2013 14:05:46 GMT
Author: mduerig
Date: Fri Aug  9 14:05:46 2013
New Revision: 1512310

URL: http://svn.apache.org/r1512310
Log:
OAK-947: New node becomes existing after Session.refresh(true)
@Ignored test case on Tree level

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

Modified: jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/RootTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/RootTest.java?rev=1512310&r1=1512309&r2=1512310&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/RootTest.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/test/java/org/apache/jackrabbit/oak/core/RootTest.java
Fri Aug  9 14:05:46 2013
@@ -336,6 +336,18 @@ public class RootTest extends OakBaseTes
     }
 
     @Test
+    @Ignore("OAK-947")  // FIXME OAK-947
+    public void purgePreservesStatus() throws CommitFailedException {
+        Tree x = session.getLatestRoot().getTree("/x");
+        Tree added = x.addChild("added");
+
+        for (int k = 0; k < 10000; k++) {
+            assertEquals("k=" + k, NEW, x.getChild("added").getStatus());
+            x.addChild("k" + k);
+        }
+    }
+
+    @Test
     public void rebaseWithAddNode() throws CommitFailedException {
         Root root1 = session.getLatestRoot();
         Root root2 = session.getLatestRoot();



Mime
View raw message