[infinispan-issues] [JBoss JIRA] (ISPN-8429) TX manager fails to lock off-heap entries
Pedro Ruivo (JIRA)
issues at jboss.org
Thu Oct 19 11:10:00 EDT 2017
[ https://issues.jboss.org/browse/ISPN-8429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479453#comment-13479453 ]
Pedro Ruivo commented on ISPN-8429:
-----------------------------------
[~vjuranek] the test is checking the internal component ({{LockManager}}) and it is not using any public API to test if the key is locked. From an user perspective, the key {{"k"}} is locked (I checked the logs and everything is fine) but from the test perspective, the binary representation is locked and not the string {{"k"}}.
> 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