HHH-7725 - fixing failing test that not clean up statistic before using it
This commit is contained in:
parent
a0967702e4
commit
d93b2bf9ab
|
@ -242,6 +242,7 @@ public class QueryAndSQLTest extends BaseCoreFunctionalTestCase {
|
|||
tx = s.beginTransaction();
|
||||
Statistics stats = sessionFactory().getStatistics();
|
||||
stats.setStatisticsEnabled( true );
|
||||
stats.clear();
|
||||
Query q = s.getNamedQuery( "night&areaCached" );
|
||||
q.setCacheable( true );
|
||||
List result = q.list();
|
||||
|
|
Loading…
Reference in New Issue