[ https://issues.apache.org/jira/browse/SLING-9419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
A. J. David Bosschaert closed SLING-9419. ----------------------------------------- > JCR Repoinit integration tests fail on Windows > ---------------------------------------------- > > Key: SLING-9419 > URL: https://issues.apache.org/jira/browse/SLING-9419 > Project: Sling > Issue Type: Bug > Components: Repoinit > Affects Versions: Repoinit JCR 1.1.26 > Reporter: Bertrand Delacretaz > Assignee: Bertrand Delacretaz > Priority: Minor > Fix For: Repoinit JCR 1.1.30 > > Attachments: > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.txt > > > In the JCR Repoinit 1.1.26 vote, Stefan Seifert notes the following failures > on Windows: > {code} > ------------------------------------------------------------------------------- > Test set: org.apache.sling.jcr.repoinit.RepositoryInitializerTest > ------------------------------------------------------------------------------- > Tests run: 10, Failures: 9, Errors: 0, Skipped: 0, Time elapsed: 17.193 s <<< > FAILURE! - in org.apache.sling.jcr.repoinit.RepositoryInitializerTest > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.testLogin[Using > provisioning model] Time elapsed: 15.843 s <<< FAILURE! > java.lang.AssertionError: Got unexpected java.net.UnknownHostException in > activation > at > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.setup(RepositoryInitializerTest.java:139) > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.testLogin[Default > value of model section config] Time elapsed: 0.152 s <<< FAILURE! > java.lang.AssertionError: Got unexpected java.net.UnknownHostException in > activation > at > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.setup(RepositoryInitializerTest.java:139) > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.testLogin[Raw > repoinit/empty section] Time elapsed: 0.157 s <<< FAILURE! > java.lang.AssertionError: Got unexpected java.net.UnknownHostException in > activation > at > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.setup(RepositoryInitializerTest.java:139) > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.testLogin[Raw > repoinit/ignored section name] Time elapsed: 0.142 s <<< FAILURE! > java.lang.AssertionError: Got unexpected java.net.UnknownHostException in > activation > at > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.setup(RepositoryInitializerTest.java:139) > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.testLogin[All empty, > just setup + parsing] Time elapsed: 0.167 s <<< FAILURE! > java.lang.AssertionError: Got unexpected java.net.UnknownHostException in > activation > at > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.setup(RepositoryInitializerTest.java:139) > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.testLogin[Raw > repoinit/null format] Time elapsed: 0.145 s <<< FAILURE! > java.lang.AssertionError: expected:<class > org.apache.sling.repoinit.parser.RepoInitParsingException> but was:<class > java.net.UnknownHostException> > at > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.setup(RepositoryInitializerTest.java:137) > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.testLogin[With > model/null format] Time elapsed: 0.133 s <<< FAILURE! > java.lang.AssertionError: expected:<class java.lang.RuntimeException> but > was:<class java.net.UnknownHostException> > at > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.setup(RepositoryInitializerTest.java:137) > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.testLogin[Invalid > format] Time elapsed: 0.162 s <<< FAILURE! > java.lang.AssertionError: expected:<class java.lang.RuntimeException> but > was:<class java.net.UnknownHostException> > at > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.setup(RepositoryInitializerTest.java:137) > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.testLogin[Null model > section] Time elapsed: 0.137 s <<< FAILURE! > java.lang.AssertionError: expected:<class java.io.IOException> but was:<class > java.net.UnknownHostException> > at > org.apache.sling.jcr.repoinit.RepositoryInitializerTest.setup(RepositoryInitializerTest.java:137) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)