HHH-7174 org.hibernate.test.tm.CMTTest.testConcurrentCachedQueries fails due to test cases interdependent
This commit is contained in:
parent
ef41cdd6dd
commit
b145388625
|
@ -157,6 +157,8 @@ public class CMTTest extends BaseCoreFunctionalTestCase {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testConcurrentCachedQueries() throws Exception {
|
public void testConcurrentCachedQueries() throws Exception {
|
||||||
|
sessionFactory().getStatistics().clear();
|
||||||
|
cleanupCache();
|
||||||
TestingJtaBootstrap.INSTANCE.getTransactionManager().begin();
|
TestingJtaBootstrap.INSTANCE.getTransactionManager().begin();
|
||||||
Session s = openSession();
|
Session s = openSession();
|
||||||
Map foo = new HashMap();
|
Map foo = new HashMap();
|
||||||
|
|
Loading…
Reference in New Issue