jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1157104 - /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/lock/AbstractLockTest.java
Date Fri, 12 Aug 2011 13:33:42 GMT
Author: mduerig
Date: Fri Aug 12 13:33:41 2011
New Revision: 1157104

URL: http://svn.apache.org/viewvc?rev=1157104&view=rev
Log:
JCR-3051: AbstractLockTest.testLockExpiration fails intermittently

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

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/lock/AbstractLockTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/lock/AbstractLockTest.java?rev=1157104&r1=1157103&r2=1157104&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/lock/AbstractLockTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/lock/AbstractLockTest.java
Fri Aug 12 13:33:41 2011
@@ -270,7 +270,7 @@ public abstract class AbstractLockTest e
         long remaining = lock.getSecondsRemaining();
         if (remaining <= hint) {
             try {
-                wait(remaining * 2000); // wait twice as long to be safe
+                wait(remaining * 4000); // wait four time as long to be safe
             } catch (InterruptedException ignore) {
             }
             long secs = lock.getSecondsRemaining();



Mime
View raw message