diff --git a/hibernate-core/src/matrix/java/org/hibernate/test/tm/CMTTest.java b/hibernate-core/src/matrix/java/org/hibernate/test/tm/CMTTest.java index 3181abccb3..7f1c2fe740 100755 --- a/hibernate-core/src/matrix/java/org/hibernate/test/tm/CMTTest.java +++ b/hibernate-core/src/matrix/java/org/hibernate/test/tm/CMTTest.java @@ -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();