rombert commented on a change in pull request #50:
URL: 
https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/50#discussion_r816690749



##########
File path: 
src/test/java/org/apache/sling/resourceresolver/impl/mapping/ResourceMapperImplTest.java
##########
@@ -100,7 +104,10 @@ public void prepare() throws LoginException {
         ctx.registerInjectActivateService(new 
StringInterpolationProviderImpl());
 
         InMemoryResourceProvider resourceProvider = new 
InMemoryResourceProvider();
-        resourceProvider.putResource("/"); // root
+
+        
if(!testName.getMethodName().contains("mapEmptyPathWithUnreadableRoot")) {

Review comment:
       I am still interested in finding out how the unreadable root can take 
happen. Please describe the scenario in detail - either here, or in the Jira 
issue so that we can reproduce it in the Sling Starter. A content package that 
works with the Sling Starter would be ideal, but I can also work with "textual" 
descriptions.
   
   If this becomes too complicated for this unit testing framework we can 
always add an integration test in 
https://github.com/apache/sling-org-apache-sling-launchpad-integration-tests .
   
   But first, I want to understand the problem.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to