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

Bertrand Delacretaz commented on SLING-4261:
--------------------------------------------

404 on that URL seems to indicate that either the JUnit servlet is not ready 
yet, or that the server-side WriteableResourcesTest is not found.

Looking at the output at 
https://builds.apache.org/job/sling-trunk-1.8/666/console this is the first 
test that runs, so I suspect it runs too early - the launchpad plugin that 
starts Sling thinks it's ready for testing but it's not.

I'll try to add more readiness conditions to the set added for SLING-3235.

> WriteableResourcesProxyTest.runWriteableResourcesTest test failure
> ------------------------------------------------------------------
>
>                 Key: SLING-4261
>                 URL: https://issues.apache.org/jira/browse/SLING-4261
>             Project: Sling
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Robert Munteanu
>              Labels: sling-IT
>
> {noformat}java.lang.AssertionError: POST request to 
> http://localhost:35847/system/sling/junit/org.apache.sling.launchpad.testservices.serversidetests.WriteableResourcesTest.json:
>  expecting status 200 expected:<200> but was:<404>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:743)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at org.junit.Assert.assertEquals(Assert.java:555)
>       at 
> org.apache.sling.testing.tools.http.RequestExecutor.assertStatus(RequestExecutor.java:155)
>       at 
> org.apache.sling.junit.remote.httpclient.RemoteTestHttpClient.runTests(RemoteTestHttpClient.java:134)
>       at 
> org.apache.sling.launchpad.webapp.integrationtest.util.ServerSideTestClient.runTests(ServerSideTestClient.java:76)
>       at 
> org.apache.sling.launchpad.webapp.integrationtest.util.ServerSideTestClient.assertTestsPass(ServerSideTestClient.java:100)
>       at 
> org.apache.sling.launchpad.webapp.integrationtest.WriteableResourcesProxyTest.runWriteableResourcesTest(WriteableResourcesProxyTest.java:26)
> {noformat}
> Recorded failures:
> * [sling-trunk-1.7 build 
> 1255|https://builds.apache.org/job/sling-trunk-1.7/1255/]
> * [sling-trunk-1.8 build 
> 610|https://builds.apache.org/job/sling-trunk-1.8/610/] at revision 1651385
> * [sling-trunk-1.8 build 
> 666|https://builds.apache.org/job/sling-trunk-1.8/666/] at revision 1655167



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to