From 7c75a92db454d8e968600c7510cedf46ef08151c Mon Sep 17 00:00:00 2001 From: Zhenlei Huang Date: Tue, 29 Mar 2016 10:09:03 +0800 Subject: [PATCH] HHH-10652 - The HHH-10631 test makes wrong assertion --- .../org/hibernate/test/cache/CollectionCacheEvictionTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hibernate-core/src/test/java/org/hibernate/test/cache/CollectionCacheEvictionTest.java b/hibernate-core/src/test/java/org/hibernate/test/cache/CollectionCacheEvictionTest.java index 2d2cd32f14..f6a003dc7f 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/cache/CollectionCacheEvictionTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/cache/CollectionCacheEvictionTest.java @@ -270,8 +270,10 @@ public class CollectionCacheEvictionTest extends BaseCoreFunctionalTestCase { s = openSession(); + company1 = (Company) s.get( Company.class, 1 ); company2 = (Company) s.get( Company.class, 2 ); + assertEquals( 0, company1.getUsers().size() ); assertEquals( 0, company2.getUsers().size() ); s.close(); }