sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From enor...@apache.org
Subject svn commit: r930612 - /sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/integration/SlingIntegrationTestClient.java
Date Sun, 04 Apr 2010 02:53:19 GMT
Author: enorman
Date: Sun Apr  4 02:53:19 2010
New Revision: 930612

URL: http://svn.apache.org/viewvc?rev=930612&view=rev
Log:
fixing broken launchpad.testing integration tests.  The GET request from mkdir(url) that was
checking if the folder already exists was failing because the node did not allow displaying
an index for the folder.

Modified:
    sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/integration/SlingIntegrationTestClient.java

Modified: sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/integration/SlingIntegrationTestClient.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/integration/SlingIntegrationTestClient.java?rev=930612&r1=930611&r2=930612&view=diff
==============================================================================
--- sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/integration/SlingIntegrationTestClient.java
(original)
+++ sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/integration/SlingIntegrationTestClient.java
Sun Apr  4 02:53:19 2010
@@ -62,7 +62,7 @@ public class SlingIntegrationTestClient 
     /** Create the given directory via WebDAV, if needed, under given URL */
     public void mkdir(String url) throws IOException {
         int status = 0;
-        status = httpClient.executeMethod(new GetMethod(url));
+        status = httpClient.executeMethod(new GetMethod(url + ".txt"));
         if(status != 200) {
             status = httpClient.executeMethod(new HttpAnyMethod("MKCOL",url));
             if(status!=201) {



Mime
View raw message