incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From enor...@apache.org
Subject svn commit: r983863 - /sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/NamespaceMappingTest.java
Date Tue, 10 Aug 2010 05:59:30 GMT
Author: enorman
Date: Tue Aug 10 05:59:30 2010
New Revision: 983863

URL: http://svn.apache.org/viewvc?rev=983863&view=rev
Log:
SLING-1635 fix integration test failure caused by old sudo cookie in the httpClient state

Modified:
    sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/NamespaceMappingTest.java

Modified: sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/NamespaceMappingTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/NamespaceMappingTest.java?rev=983863&r1=983862&r2=983863&view=diff
==============================================================================
--- sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/NamespaceMappingTest.java
(original)
+++ sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/NamespaceMappingTest.java
Tue Aug 10 05:59:30 2010
@@ -79,6 +79,8 @@ public class NamespaceMappingTest extend
             //remove the test user if it exists.
             String postUrl = HTTP_BASE_URL + "/system/userManager/user/" + testUserId + ".delete.html";
             List<NameValuePair> postParams = new ArrayList<NameValuePair>();
+        	//SLING-1635 the sudo cookie messes up the user delete, so clear it out before deleting
the test user
+            postParams.add(new NameValuePair("sudo", "-"));
             assertAuthenticatedAdminPostStatus(postUrl, HttpServletResponse.SC_OK, postParams,
null);
         }
         super.tearDown();



Mime
View raw message