[infinispan-issues] [JBoss JIRA] (ISPN-8429) TX manager fails to lock off-heap entries
Pedro Ruivo (JIRA)
issues at jboss.org
Thu Oct 19 10:32:00 EDT 2017
[ https://issues.jboss.org/browse/ISPN-8429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479413#comment-13479413 ]
Pedro Ruivo commented on ISPN-8429:
-----------------------------------
[~vjuranek] you can't just enable off-heap in the local tests. The local tests expect to have the {{String}} stored (and locked) but with off-heap the string is stored as binary. You will have to update the test to handle off-heap.
I guess this JIRA can be closed :)
> TX manager fails to lock off-heap entries
> -----------------------------------------
>
> Key: ISPN-8429
> URL: https://issues.jboss.org/browse/ISPN-8429
> Project: Infinispan
> Issue Type: Bug
> Components: Off Heap, Transactions
> Affects Versions: 9.0.1.Final, 9.1.1.Final
> Reporter: Vojtech Juranek
>
> TX manager seems to fail lock off-heap entries properly. E.g. running {{LocalOptimisticTxTest}} with off-heap container fails with
> {noformat}
> java.lang.AssertionError: expected [true] but found [false]
> at org.testng.Assert.fail(Assert.java:94)
> at org.testng.Assert.failNotEquals(Assert.java:494)
> at org.testng.Assert.assertTrue(Assert.java:42)
> at org.testng.Assert.assertTrue(Assert.java:52)
> at org.infinispan.tx.locking.LocalOptimisticTxTest.assertLocking(LocalOptimisticTxTest.java:63)
> at org.infinispan.tx.locking.AbstractLocalTest.testPut(AbstractLocalTest.java:29)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list