That is a good question.

I just edited blog/blog-itests/pom.xml and inserted <version>1.2.3</version> after _every_ pax-exam artifact. This seems to do it.

Here is a subsection of the pom:

<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-junit-extender-impl</artifactId>
<version>1.2.3</version>
<scope>test</scope>
</dependency>

Toni may be able to provide a better answer, but I think this works.
Zoe

Hi Emily,
I'm running the Itests module*"Apache Aries Blog sample iTests 0.3".*

How do I specify from with in the test class what version of PAX EXAM to use?

@RunWith(JUnit4TestRunner.class)
public class JpaBlogSampleWithEbaTest extends AbstractIntegrationTest {
.....
}

This is the PAX/JUnit 4  test class.

How do I specify from within this class the PAX EXAM version I want to use?

Thanks
Matt



*Emily Jiang <[email protected]>*

02/03/2011 04:26 PM
Please respond to
[email protected]


        
To
        [email protected]
cc
        
Subject
        Re: Blog Sample 0.3.0 Itests hanging



        









On Thu, Feb 3, 2011 at 9:34 PM, Valentin Mahrwald <[email protected]_ <mailto:[email protected]>> wrote:
Hi Matt,

if I understand correctly this is not an intermittent problem. Is there a test log (in target/surefire-reports) or a thread dump you could get from your system and attach to say a JIRA?

This would really help since I have not seen a problem like this on my system before :(

Regards,

Valentin

On 3 Feb 2011, at 20:54, [email protected]_ <mailto:[email protected]>wrote:


Hello,
I just checked out the Aries Sample projects from SVN today. For the sample Blog I ran maven install. The tests just hang and nothing happens. I had the same issue with 0.2.0 Incubating as well.

Can some one please take a look at this please? Been stuck on this for a while! (integration testing is core piece that I need to demonstrate before my client can adopt the OSGi technology!)

The following is the tail end of the output:
----------------------------------------
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ _org.apache.ar_ <http://org.apache.ar/>
ies.samples.blog.itests ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ or
g.apache.aries.samples.blog.itests ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\working\aries\samples-0.3\blog\blo
g-itests\src\test\resources
[INFO] skip non existing resourceDirectory C:\working\aries\samples-0.3\blog\blo
g-itests\src\test\filtered-resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ org.a
pache.aries.samples.blog.itests ---
[INFO] Compiling 4 source files to C:\working\aries\samples-0.3\blog\blog-itests
\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ _org.apache.aries.sa_ <http://org.apache.aries.sa/>
mples.blog.itests ---
[INFO] Surefire report directory: C:\working\aries\samples-0.3\blog\blog-itests\
target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.aries.samples.blog.itests.JpaBlogSampleWithEbaTest



Thanks
Matt

HCSC Company Disclaimer

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at (312)
653-6000 in Illinois; (800)835-8699 in New Mexico; (918)560-3500 in
Oklahoma; or (972)766-6900 in Texas.


Hi Matt,

I recall you reported the hang problem a few days. Are you still experiencing the hang problem even though you use pax exam 1.2.3 suggested by Toni?

--
Thanks
Emily
=================
Emily Jiang_
[email protected]_ <mailto:[email protected]>


Reply via email to