jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r536249 - /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/ConcurrentReadWriteTest.java
Date Tue, 08 May 2007 16:42:41 GMT
Author: mreutegg
Date: Tue May  8 09:42:36 2007
New Revision: 536249

URL: http://svn.apache.org/viewvc?view=rev&rev=536249
Log:
Ignore InvalidItemStateException because property may be stale, which is OK.

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

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/ConcurrentReadWriteTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/ConcurrentReadWriteTest.java?view=diff&rev=536249&r1=536248&r2=536249
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/ConcurrentReadWriteTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/ConcurrentReadWriteTest.java
Tue May  8 09:42:36 2007
@@ -21,6 +21,7 @@
 import javax.jcr.Session;
 import javax.jcr.PropertyIterator;
 import javax.jcr.Property;
+import javax.jcr.InvalidItemStateException;
 import java.util.List;
 import java.util.ArrayList;
 import java.util.Random;
@@ -67,6 +68,8 @@
                                             p.getValue();
                                         }
                                     }
+                                } catch (InvalidItemStateException e) {
+                                    // ignore
                                 } catch (RepositoryException e) {
                                     System.out.println(e);
                                 }



Mime
View raw message