mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
FIX: reset cache statistics (fixes test cases in eclipse when run in different order) (#1289)
This commit is contained in:
committed by
Rob Bygrave
parent
78f8d48e2e
commit
ac9f3408b2
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user