]
William Burns updated ISPN-3560:
--------------------------------
Git Pull Request:
Size after a suspended transaction is resumed is incorrectly
calculated
-----------------------------------------------------------------------
Key: ISPN-3560
URL:
https://issues.jboss.org/browse/ISPN-3560
Project: Infinispan
Issue Type: Bug
Components: Transactions
Affects Versions: 5.3.0.Final, 6.0.0.Beta1
Reporter: Galder ZamarreƱo
Assignee: William Burns
Fix For: 6.0.0.CR1, 6.0.0.Final
{code}
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();
}
}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: