Galder Zamarreno commented on an issue
Hibernate ORM / Bug HHH-8623
After evicting a region, cache statistics not updated and entities not loaded into cache
A test like this fails:

{code}
public String evictEntityCacheCheck(String CACHE_REGION_NAME){

        assertTrue("2lc entity cache is expected to contain Employee id = 20", emf.getCache().contains(Employee.class, 20));
        assertTrue("2lc entity cache is expected to contain Employee id = 30", emf.getCache().contains(Employee.class, 30));

...