jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r1335447 - /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SessionRemoveItemTest.java
Date Tue, 08 May 2012 12:05:50 GMT
Author: reschke
Date: Tue May  8 12:05:50 2012
New Revision: 1335447

URL: http://svn.apache.org/viewvc?rev=1335447&view=rev
Log:
JCR-3302: add missing refresh() call on test session

Modified:
    jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SessionRemoveItemTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SessionRemoveItemTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SessionRemoveItemTest.java?rev=1335447&r1=1335446&r2=1335447&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SessionRemoveItemTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/SessionRemoveItemTest.java
Tue May  8 12:05:50 2012
@@ -75,6 +75,7 @@ public class SessionRemoveItemTest exten
 
     public void testRemoveItem3() throws RepositoryException {
         adminSession.removeItem(nPath);
+        readOnlySession.refresh(false); // see JCR-3302
 
         // node must still exist for another session.
         assertTrue(readOnlySession.nodeExists(nPath));



Mime
View raw message