You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (Jira)" <ji...@apache.org> on 2020/05/04 15:23:00 UTC

[jira] [Commented] (SLING-9419) JCR Repoinit integration tests fail on Windows

    [ https://issues.apache.org/jira/browse/SLING-9419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17099034#comment-17099034 ] 

Bertrand Delacretaz commented on SLING-9419:
--------------------------------------------

[~sseifert], I have added stack traces to those test failures, could you try to run the [https://github.com/apache/sling-org-apache-sling-jcr-repoinit] tests on Windows again when you find some time? And add the stack traces here.

(sorry, I don't have a Windows setup here)

> 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
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: Repoinit JCR 1.1.28
>
>
> 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)