-
Bug
-
Resolution: Done
-
Major
-
5.3.0.Final, 6.0.0.Final
-
None
public void testSizeAfterClearInBranchedTransaction() throws Exception { cache.put(1, "v1"); tm().begin(); try { assertEquals("v1", cache.get(1)); Transaction suspended = tm().suspend(); tm().begin(); try { cache.clear(); } finally { tm().commit(); tm().resume(suspended); assertEquals(1, cache.size()); // assertion fails assertEquals("v1", cache.get(1)); } } finally { tm().commit(); } }
- is related to
-
ISPN-3557 Key set not empty after transactional CACHE_MODE_LOCAL flagged clear
- Closed