From d25044a1eac2a314444c3a7f96ca3d058bfafc99 Mon Sep 17 00:00:00 2001 From: Brett Meyer Date: Fri, 28 Feb 2014 13:59:04 -0500 Subject: [PATCH] HHH-9010: Revert "HHH-8961 corrected test failure" This reverts commit 64acebb5a975f3df0c47e593582008a417f3160d. --- .../cluster/EntityCollectionInvalidationTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/cluster/EntityCollectionInvalidationTestCase.java b/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/cluster/EntityCollectionInvalidationTestCase.java index fc9f353cf4..41dd1c65a7 100644 --- a/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/cluster/EntityCollectionInvalidationTestCase.java +++ b/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/cluster/EntityCollectionInvalidationTestCase.java @@ -364,7 +364,7 @@ public class EntityCollectionInvalidationTestCase extends DualNodeTestCase { if ( !event.isPre() ) { CacheKey cacheKey = (CacheKey) event.getKey(); Integer primKey = (Integer) cacheKey.getKey(); - String key = event.getCache().getName() + '#' + primKey; + String key = cacheKey.getEntityOrRoleName() + '#' + primKey; log.debug( "MyListener[" + name + "] - Visiting key " + key ); // String name = fqn.toString(); String token = ".functional.";