Integration test failure ------------------------ Key: SLING-1635 URL: https://issues.apache.org/jira/browse/SLING-1635 Project: Sling Issue Type: Test Components: Testing Affects Versions: Launchpad Testing 5 Environment: Windows XP, Apache Maven 2.2.1, Java version: 1.6.0_20 Reporter: Davide Maestroni Priority: Minor
During Sling compilation the integration tests fail. Below is the content of org.apache.sling.launchpad.testing.TestAll.txt: ------------------------------------------------------------------------------- Test set: org.apache.sling.launchpad.testing.TestAll ------------------------------------------------------------------------------- Tests run: 362, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 255.953 sec <<< FAILURE! testNamespaceFromManifestWithImpersonation(org.apache.sling.launchpad.webapp.integrationtest.NamespaceMappingTest) Time elapsed: 0.156 sec <<< FAILURE! junit.framework.AssertionFailedError: expected:<200> but was:<302> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:283) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:195) at junit.framework.Assert.assertEquals(Assert.java:201) at org.apache.sling.launchpad.webapp.integrationtest.AbstractAuthenticatedTest.assertAuthenticatedPostStatus(AbstractAuthenticatedTest.java:69) at org.apache.sling.launchpad.webapp.integrationtest.AbstractAuthenticatedTest.assertAuthenticatedAdminPostStatus(AbstractAuthenticatedTest.java:46) at org.apache.sling.launchpad.webapp.integrationtest.NamespaceMappingTest.tearDown(NamespaceMappingTest.java:82) at junit.framework.TestCase.runBare(TestCase.java:140) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) testNamespaceFromNamespaceMapperWithImpersonation(org.apache.sling.launchpad.webapp.integrationtest.NamespaceMappingTest) Time elapsed: 0.078 sec <<< FAILURE! junit.framework.AssertionFailedError: expected:<200> but was:<302> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:283) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:195) at junit.framework.Assert.assertEquals(Assert.java:201) at org.apache.sling.launchpad.webapp.integrationtest.AbstractAuthenticatedTest.assertAuthenticatedPostStatus(AbstractAuthenticatedTest.java:69) at org.apache.sling.launchpad.webapp.integrationtest.AbstractAuthenticatedTest.assertAuthenticatedAdminPostStatus(AbstractAuthenticatedTest.java:46) at org.apache.sling.launchpad.webapp.integrationtest.NamespaceMappingTest.tearDown(NamespaceMappingTest.java:82) at junit.framework.TestCase.runBare(TestCase.java:140) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.