Good point, but I think parallel test execution is a maven-3 feature. I'm using maven-2 here.
There also may be other sources for this behaviour, like not properly initialising/cleaning up the container in some test together with random tests order. Anyway, this happened 2 times yesterday evening. Maybe this was also caused by an eclipse leftover, don't kndow. Please keep your eyes open at least ;) txs and LieGrue, strub --- Sven Linstaedt <[email protected]> schrieb am Sa, 21.11.2009: > Von: Sven Linstaedt <[email protected]> > Betreff: Re: sporadic test failures > An: "[email protected]" > <[email protected]> > Datum: Samstag, 21. November 2009, 1:15 > Are the tests fired in multiple > threads? If I remember correct, surefire introduced > multithreaded thread execution in some version. > > br, Sven > > > -- sent by phone > > Am 20.11.2009 um 23:23 schrieb Mark Struberg <[email protected]>: > > > any1 seen this before? > > > > > testGenericBeanInjection(org.apache.webbeans.test.unittests.inject.generic.GenericBeanTest) > Time elapsed: 0.004 sec <<< ERROR! > > javax.enterprise.context.ContextNotActiveException: > WebBeans context with scope type annotation > @ApplicationScoped does not exist within current thread > > at > org.apache.webbeans.container.BeanManagerImpl.getContext(BeanManagerImpl.java:249) > > at > org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:166) > > at > org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:240) > > at > org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:302) > > at > org.apache.webbeans.test.mock.MockManager.fireEvent(MockManager.java:105) > > at > org.apache.webbeans.test.TestContext.defineManagedBean(TestContext.java:327) > > at > org.apache.webbeans.test.unittests.inject.generic.GenericBeanTest.testGenericBeanInjection(GenericBeanTest.java:41) > > > > > > LieGrue, > > strub > > > > __________________________________________________ > > Do You Yahoo!? > > Sie sind Spam leid? Yahoo! Mail verfügt über einen > herausragenden Schutz gegen Massenmails. > > http://mail.yahoo.com > __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com
