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:
andrigtmiller 2012-05-24 11:25:36 -06:00 committed by Strong Liu
parent 665798339d
commit 27df736412
1 changed files with 0 additions and 1 deletions

View File

@ -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");