Dear Community! We faced a problem during the execution of OSGi test cases for 2 separate projects at the same time. Here is the scenario, we're using Pax 1.2.0, driven with Ant:
In two command windows: //serial running Window1>project1\osgi\tests>ant run-tests Wait for it to complete Window2> project2\osgi\tests >ant run-tests Wait for it to complete //parallel running Window1> project1\osgi\tests >ant run-tests While window1 is still running Window2> project2\osgi\tests >ant run-tests Parallel Result: Window2 tests fail immediately. Stray java.exe process will block further tests. Window1 tests are hung! Stray java.exe process will block further tests. Can someone confirm that Pax (1.2.0) can be modified in a way to support parallel test runs? This would be quite a parting issue in our discretion for using Pax. In other words, we need a solution for this like hell... Any ideas, comments are warmly welcomed! Thanks in advance, Gábor P.S.: for errlog diggers, we received this rte: java.lang.RuntimeException: There might be another instance of Pax Exam running. Have a look at C:\Documents and Settings\buildprop\Local Settings\Temp\paxexam_runner_buildprop\paxexam.lock at org.ops4j.pax.exam.container.def.internal.PaxRunnerTestContainer.start(PaxRunnerTestContainer.java:272) at org.ops4j.pax.exam.junit.internal.JUnit4TestMethod.invoke(JUnit4TestMethod.java:142) at org.ops4j.pax.exam.junit.internal.JUnit4MethodRoadie.runBeforesThenTestThenAfters(JUnit4MethodRoadie.java:60) at org.ops4j.pax.exam.junit.JUnit4TestRunner.invokeTestMethod(JUnit4TestRunner.java:247) at org.ops4j.pax.exam.junit.JUnit4TestRunner.runMethods(JUnit4TestRunner.java:197) at org.ops4j.pax.exam.junit.JUnit4TestRunner$2.run(JUnit4TestRunner.java:187) at org.ops4j.pax.exam.junit.JUnit4TestRunner.run(JUnit4TestRunner.java:183) Best Regards, Gábor Komáromi Software Engineer EPAM Systems Szeged office, Hungary GMT+1 (Standard) / GMT+2 (Daylight) EPAM Internal ext.: XXXXX Office phone: +36 (1) 327-74-XX Office fax: +36 (1) 577-23-84 Mobile phone: +36 (30) 430-9572 E-mail: gabor_komar...@epam.com<mailto:gabor_komar...@epam.com> http://www.epam.com CONFIDENTIALITY CAUTION AND DISCLAIMER This message is intended only for the use of the individual(s) or entity(ies) to which it is addressed and contains information that is legally privileged and confidential. If you are not the intended recipient, or the person responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. All unintended recipients are obliged to delete this message and destroy any printed copies.
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general