jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r618965 - /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/lock/LockTest.java
Date Wed, 06 Feb 2008 11:21:43 GMT
Author: reschke
Date: Wed Feb  6 03:21:39 2008
New Revision: 618965

URL: http://svn.apache.org/viewvc?rev=618965&view=rev
Log:
JCR-1361: add missing session refresh

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

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/lock/LockTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/lock/LockTest.java?rev=618965&r1=618964&r2=618965&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/lock/LockTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/lock/LockTest.java
Wed Feb  6 03:21:39 2008
@@ -436,6 +436,7 @@
         assertFalse("lock must not be alive", lock.isLive());
 
         // assert: node must not be locked
+        n1.getSession().refresh(true);
         assertFalse("node must not be locked", n1.isLocked());
     }
 



Mime
View raw message