You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2009/01/10 21:50:01 UTC
[jira] Commented: (SLING-824) Build fails due to multiple test
failures. (Could not initialize class
org.apache.commons.httpclient.HttpClient)
[ https://issues.apache.org/jira/browse/SLING-824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662692#action_12662692 ]
Felix Meschberger commented on SLING-824:
-----------------------------------------
Thanks for reporting. To work around this problem, you may switch off the JCRInstall integration tests by setting the activeByDefault element to false in the extensions/jcrinstall pom:
Index: extensions/jcrinstall/pom.xml
===================================================================
--- extensions/jcrinstall/pom.xml (Revision 733295)
+++ extensions/jcrinstall/pom.xml (Arbeitskopie)
@@ -49,7 +49,7 @@
-->
<id>integrationTests</id>
<activation>
- <activeByDefault>true</activeByDefault>
+ <activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>testing</module>
> Build fails due to multiple test failures. (Could not initialize class org.apache.commons.httpclient.HttpClient)
> ----------------------------------------------------------------------------------------------------------------
>
> Key: SLING-824
> URL: https://issues.apache.org/jira/browse/SLING-824
> Project: Sling
> Issue Type: Bug
> Components: JCR Install
> Environment: Ubuntu 8.10 x64, Sun JDK 1.6.0.10, Eclipse 3.4.1, Maven 2.0.9
> Reporter: Pontus Amberg
> Priority: Minor
> Attachments: TEST-org.apache.sling.jcr.jcrinstall.integrationtest.HttpPingTest.xml, TEST-org.apache.sling.jcr.jcrinstall.integrationtest.InstallClonedBundlesTest.xml, TEST-org.apache.sling.jcr.jcrinstall.integrationtest.StopAndChangeBundlesTest.xml, TEST-org.apache.sling.jcr.jcrinstall.integrationtest.StopAndRestartTest.xml
>
>
> Building Sling fails due to failing tests. After the tests has failed the build process will get stuck and never terminate.
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.sling.jcr.jcrinstall.integrationtest.StopAndChangeBundlesTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.107 sec <<< FAILURE!
> Running org.apache.sling.jcr.jcrinstall.integrationtest.HttpPingTest
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.01 sec <<< FAILURE!
> Running org.apache.sling.jcr.jcrinstall.integrationtest.InstallClonedBundlesTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.011 sec <<< FAILURE!
> Running org.apache.sling.jcr.jcrinstall.integrationtest.StopAndRestartTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.005 sec <<< FAILURE!
> Results :
> Tests in error:
> testStopAndRestart(org.apache.sling.jcr.jcrinstall.integrationtest.StopAndChangeBundlesTest)
> testWebServerRoot(org.apache.sling.jcr.jcrinstall.integrationtest.HttpPingTest)
> test404(org.apache.sling.jcr.jcrinstall.integrationtest.HttpPingTest)
> testInstallAndRemoveBundles(org.apache.sling.jcr.jcrinstall.integrationtest.InstallClonedBundlesTest)
> testStopAndRestart(org.apache.sling.jcr.jcrinstall.integrationtest.StopAndRestartTest)
> Tests run: 5, Failures: 0, Errors: 5, Skipped: 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.