From 27df73641240659405ff6434a0465d491dd6a53f Mon Sep 17 00:00:00 2001 From: andrigtmiller Date: Thu, 24 May 2012 11:25:36 -0600 Subject: [PATCH] HHH-7350 - Fixed up the unit tests, to allow the lock of the cache region for an access strategy of READ_ONLY. --- .../test/cache/infinispan/entity/EntityRegionImplTestCase.java | 1 - 1 file changed, 1 deletion(-) diff --git a/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/entity/EntityRegionImplTestCase.java b/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/entity/EntityRegionImplTestCase.java index 6de2107709..5fed2f1ec3 100644 --- a/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/entity/EntityRegionImplTestCase.java +++ b/hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/entity/EntityRegionImplTestCase.java @@ -52,7 +52,6 @@ public class EntityRegionImplTestCase extends AbstractEntityCollectionRegionTest EntityRegion region = regionFactory.buildEntityRegion("test", properties, null); assertNull("Got TRANSACTIONAL", region.buildAccessStrategy(AccessType.TRANSACTIONAL).lockRegion()); - try { region.buildAccessStrategy(AccessType.NONSTRICT_READ_WRITE); fail("Incorrectly got NONSTRICT_READ_WRITE");