Hello,
I have attached the error.log for 2 runs, one with the standard mvn clean
install and the second one running with mvn clean verify -DkeepJarRunning=true
-Dhttp.port=8999.
The java version output is: java version "1.7.0_71"Java(TM) SE Runtime
Environment (build 1.7.0_71-b14)Java HotSpot(TM) 64-Bit Server VM (build
24.71-b01, mixed mode)
The debug is difficult as the maven eclipse plugin m2e does not recognize the
maven dependency plugin (the error is: maven-dependency-plugin (goals
"copy-dependencies", "unpack") is not supported by m2e) so the build/test
crashes when done from eclipse.
Thank you for your help.
On Thursday, December 18, 2014 3:31 PM, Andrei Zafiu
<[email protected]> wrote:
Thank you Bertrand for your answer but I think I didn't make myself clear the
first time. I was trying to run the test by using "mvn clean install" from the
testing/samples/integration-tests. From what I could see in the pom.xml from
that folder, the test should launch a bare launchpad instance and install the
additional bundles (which I can find in the target/sling/additional-bundles
folder after the tests are run). Didn't I understand the test correctly?
I have attached a dump of the mvn clean test output. Please let me know if you
need anything else or if I did not understant this correctly.
Thank you,Andrei.
On Thursday, December 18, 2014 3:00 PM, Bertrand Delacretaz
<[email protected]> wrote:
Hi,
On Thu, Dec 18, 2014 at 11:44 AM, Andrei Zafiu
<[email protected]> wrote:
>... I had previous seen those examples but I keep getting an error when trying
>to run the test from that package....
The SlingPostChunkUploadTest passes if I run "mvn clean install" in
testing/samples/integration-tests.
Such server-side tests need some setup, they won't run on a bare
launchpad instance. In your case it looks like your Sling instance is
missing the junit packages, you can see the sling.additional.bundle.*
entries in testing/samples/integration-tests/pom.xml for which
additional bundles that test installs.
-Bertrand