HHH-7350 - Fixed up the unit tests, to allow the lock of the cache region for an access strategy of READ_ONLY.
This commit is contained in:
parent
665798339d
commit
27df736412
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue