tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jieryn <jie...@gmail.com>
Subject Re: tomee 1.6.0-SNAPSHOT, ejb example failing to inject @persistencecontext
Date Thu, 05 Sep 2013 16:28:26 GMT
Greetings,

On Fri, Aug 23, 2013 at 3:16 AM, Romain Manni-Bucau
<rmannibucau@gmail.com> wrote:
> btw removing selenium your test passes for me

Getting back into this.. I see that I had allowed surefire to ignore
test failures. When I remove that maven plugin setting, the build
fails.

https://github.com/jieryn/javaee-example
https://travis-ci.org/jieryn/javaee-example

It seems that transactions are not rolled back for each @Test. I am
coming from a SpringFramework test environment where each @Test had
transaction isolation, so that one test wouldn't interfere with
others. How can I get this behavior, I would have thought it to be the
default..

Thanks!

Mime
View raw message