HHH-7174 org.hibernate.test.tm.CMTTest.testConcurrentCachedQueries fails due to test cases interdependent

This commit is contained in:
Strong Liu 2012-03-15 16:41:09 +08:00
parent ef41cdd6dd
commit b145388625
1 changed files with 2 additions and 0 deletions

View File

@ -157,6 +157,8 @@ public class CMTTest extends BaseCoreFunctionalTestCase {
@Test
public void testConcurrentCachedQueries() throws Exception {
sessionFactory().getStatistics().clear();
cleanupCache();
TestingJtaBootstrap.INSTANCE.getTransactionManager().begin();
Session s = openSession();
Map foo = new HashMap();