Permalink
Browse files

HHH-7350 - Fixed up the unit tests, to allow the lock of the cache re…

…gion for an access strategy of READ_ONLY.
  • Loading branch information...
andrigtmiller authored and stliu committed May 24, 2012
1 parent 6657983 commit 27df73641240659405ff6434a0465d491dd6a53f
@@ -52,7 +52,6 @@ protected void supportedAccessTypeTest(RegionFactory regionFactory, Properties p
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");

0 comments on commit 27df736

Please sign in to comment.