jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r425994 - /jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/SessionReadMethodsTest.java
Date Thu, 27 Jul 2006 07:50:27 GMT
Author: mreutegg
Date: Thu Jul 27 00:50:27 2006
New Revision: 425994

URL: http://svn.apache.org/viewvc?rev=425994&view=rev
Log:
JCR-495: TCK: SessionReadMethodsTest#testIsLive calls logout() more than once

Modified:
    jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/SessionReadMethodsTest.java

Modified: jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/SessionReadMethodsTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/SessionReadMethodsTest.java?rev=425994&r1=425993&r2=425994&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/SessionReadMethodsTest.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/test/java/org/apache/jackrabbit/test/api/SessionReadMethodsTest.java
Thu Jul 27 00:50:27 2006
@@ -57,7 +57,7 @@
      * Releases the session aquired in {@link #setUp()}.
      */
     protected void tearDown() throws Exception {
-        if (session != null) {
+        if (session != null && session.isLive()) {
             session.logout();
         }
         super.tearDown();



Mime
View raw message