Hello,

since we upgrade to 4.7.x ours tests are very slow. It's because we
start/stop properly OpenEJB (not the cas before ^^) :

@BeforeClass
public static void start() {
    Properties p = new Properties();

...
    // some hsqldb settings
...
    container = EJBContainer.createEJBContainer();
}
 
@Before
public void inject() throws NamingException {
    container.getContext().bind("inject", this);
}
 
@AfterClass
public static void stop() {
    container.close();
}

works nice , but...too slow with many junit class (each class doing this
sequence start/stop with its own parameters)

Is there a way to improve perfs ?

thx



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/openEJB-perfs-tp4674462.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to