FIX: reset cache statistics (fixes test cases in eclipse when run in different order) (#1289)

This commit is contained in:
Roland Praml
2018-02-27 11:03:27 +13:00
committed by Rob Bygrave
parent 78f8d48e2e
commit ac9f3408b2
2 changed files with 7 additions and 2 deletions
@@ -45,6 +45,7 @@ public class TestQueryCacheInsert extends BaseTestCase {
Ebean.save(doda);
ServerCache queryCache = Ebean.getServerCacheManager().getQueryCache(EBasicVer.class);
queryCache.getStatistics(true);
Optional<EBasicVer> found0 = Ebean.find(EBasicVer.class)
.where().eq("description", "OddButUniqueSillyExample")