opensubscriber
   Find in this group all groups
 
Unknown more information…

d : dev@openejb.apache.org 29 July 2012 • 1:48AM -0400

stochastic test errors
by Mark Struberg

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi folks!

When doing a full build of the container module, I get the following Exception:

Test set: org.apache.openejb.persistence.ResourceLocalCdiEmTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.192 sec <<< FAILURE!
injection(org.apache.openejb.persistence.ResourceLocalCdiEmTest)  Time elapsed: 2.097 sec  <<< FAILURE!
junit.framework.AssertionFailedError
        at junit.framework.Assert.fail(Assert.java:48)
        at junit.framework.Assert.assertTrue(Assert.java:20)
        at junit.framework.Assert.assertNotNull(Assert.java:218)
        at junit.framework.Assert.assertNotNull(Assert.java:211)
        at org.apache.openejb.persistence.ResourceLocalCdiEmTest.injection(ResourceLocalCdiEmTest.java:50)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


If I start the test in the debugger, all works fine!

It seems the injection doesn't work.

Any tips?

LieGrue,
strub


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.