jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r998057 - /jackrabbit/trunk/jackrabbit-webdav/src/test/java/org/apache/jackrabbit/webdav/server/RFC4918IfHeaderTest.java
Date Fri, 17 Sep 2010 10:32:42 GMT
Author: jukka
Date: Fri Sep 17 10:32:41 2010
New Revision: 998057

URL: http://svn.apache.org/viewvc?rev=998057&view=rev
Log:
JCR-2739: RFC4918IfHeaderTest.testPutIfLockToken could fail with 412 Precondition Failed

Use a longer timeout as suggested by Javier Godoy

Modified:
    jackrabbit/trunk/jackrabbit-webdav/src/test/java/org/apache/jackrabbit/webdav/server/RFC4918IfHeaderTest.java

Modified: jackrabbit/trunk/jackrabbit-webdav/src/test/java/org/apache/jackrabbit/webdav/server/RFC4918IfHeaderTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/test/java/org/apache/jackrabbit/webdav/server/RFC4918IfHeaderTest.java?rev=998057&r1=998056&r2=998057&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/test/java/org/apache/jackrabbit/webdav/server/RFC4918IfHeaderTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/test/java/org/apache/jackrabbit/webdav/server/RFC4918IfHeaderTest.java
Fri Sep 17 10:32:41 2010
@@ -107,7 +107,8 @@ public class RFC4918IfHeaderTest extends
           status = this.client.executeMethod(put);
           assertTrue("status: " + status, status == 200 || status == 201 || status == 204);
 
-          LockMethod lock = new LockMethod(testuri, new LockInfo(Scope.EXCLUSIVE, Type.WRITE,
"testcase", 1800, true));
+          LockMethod lock = new LockMethod(testuri, new LockInfo(
+                  Scope.EXCLUSIVE, Type.WRITE, "testcase", 10000, true));
           status = this.client.executeMethod(lock);
           assertEquals("status", 200, status);
           locktoken = lock.getLockToken();



Mime
View raw message