Hi I have synced code from trunk and am trying to execute SlingWebDavServletTest without any local changes. This test is failing with the error below:
SlingWebDavServletTest.testHandlerOrder:73->checkHandler:90->RenderingTestBase.assertContains:36 Content does not contain 'test-io-handler-1-' (content=<?xml version="1.0" encoding="UTF-8" standalone="no"?><D:multistatus xmlns:D="DAV:"><D:response><D:href> http://localhost:8080/dav//sling-test/SlingWebDavServletTest1431671407506/test-io-handler-1 </D:href><D:propstat><D:prop><D:displayname>test-io-handler-1</D:displayname><D:creationdate>2015-05-15T06:30:09Z</D:creationdate><jcr:lastModifiedBy xmlns:jcr="http://www.jcp.org/jcr/1.0">admin</jcr:lastModifiedBy><D:iscollection>0</D:iscollection><D:resourcetype/><D:lockdiscovery/><D:getcontenttype>application/octet-stream</D:getcontenttype><D:getetag>"10-1431671409942"</D:getetag><D:getlastmodified>Fri, 15 May 2015 06:30:09 GMT</D:getlastmodified><D:supportedlock><D:lockentry><D:lockscope><D:exclusive/></D:lockscope><D:locktype><D:write/></D:locktype></D:lockentry></D:supportedlock><D:getcontentlength>10</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response></D:multistatus>) The cause is simple. The result is expected to contain 'test-io-handler-1-' while actually it contains just 'test-io-handler-1' . Notice the extra hyphen '-' in the expectation. This extra hyphen is specifically added by the method SlingWebDavServletTest.getHandlerIdentifier . I am not sure, why is this method needed. Any ideas as to why is this failing? Is it failing just for me? The test hasn't changed for the last 4 years. Regards Satya Deep
