HI Emily,
I had changed the version of pax-eaxm and pax-exam unit to 1.2.3 inside 
the itests/pom.xml  and the tests worked!

Many thanks!

Matt





matt_madha...@bcbsil.com 
02/04/2011 12:08 PM
Please respond to
user@aries.apache.org


To
user@aries.apache.org
cc

Subject
Re: Blog Sample 0.3.0 Itests hanging







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 <emijia...@googlemail.com> 
02/03/2011 04:26 PM 

Please respond to
user@aries.apache.org


To
user@aries.apache.org 
cc

Subject
Re: Blog Sample 0.3.0 Itests hanging












On Thu, Feb 3, 2011 at 9:34 PM, Valentin Mahrwald <
vmahrw...@googlemail.com> 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, matt_madha...@bcbsil.com 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 
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 
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
eji...@apache.org

Reply via email to