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 2021/06/02 09:26:00 UTC
[jira] [Resolved] (SLING-2610) Sling Integration tests don't run
[ https://issues.apache.org/jira/browse/SLING-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz resolved SLING-2610.
----------------------------------------
Resolution: Won't Fix
Stumbled on this after 9 years, I suppose it's not a relevant problem anymore ;)
> Sling Integration tests don't run
> ---------------------------------
>
> Key: SLING-2610
> URL: https://issues.apache.org/jira/browse/SLING-2610
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Affects Versions: Sample Integration Tests 1.0.8
> Environment: command line ubuntu 12.04.1, maven 3.0.4-2, oracle java version 1.6.0_34
> Reporter: Santiago Gala
> Priority: Major
> Attachments: installer-tests-fail.patch
>
>
> First, I needed to patch the tests because they were looking for org.apache.sling.installer.api version 3.3.9-SNAPSHOT, which does not exist. I attach the patch.
> After I did this, I'm getting a different error, about the org.apache.sling.installer.it.FragmentInstallTest failing:
> 30.09.2012 15:36:11.562 *INFO* [main] org.ops4j.pax.exam.container.def.internal.PaxRunnerTestContainer Wait for test co
> ntainer to finish its initialization for 300000 millis
> Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/core/runtime/adaptor/EclipseStarter
> Caused by: java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> Could not find the main class: org.eclipse.core.runtime.adaptor.EclipseStarter. Program will exit.
> 30.09.2012 15:41:11.562 *INFO* [main] org.ops4j.pax.exam.container.def.internal.PaxRunnerTestContainer Shutting down th
> e test container (Pax Runner)
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 300.23 sec <<< FAILURE!
> My guess is that the class being loaded is an eclipse class, not available when using command line.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)