[infinispan-issues] [JBoss JIRA] (ISPN-6359) DistTopKeyTest.testPut random failures
Pedro Ruivo (JIRA)
issues at jboss.org
Fri Mar 25 15:13:00 EDT 2016
[ https://issues.jboss.org/browse/ISPN-6359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182386#comment-13182386 ]
Pedro Ruivo commented on ISPN-6359:
-----------------------------------
I was able to reproduce it locally with trace logs. the problem occurs because the {{TxCompletionNotificationCommand}} is sent async and when the put happens, the key may be locked originating the contention :) Working in a fix...
> DistTopKeyTest.testPut random failures
> ---------------------------------------
>
> Key: ISPN-6359
> URL: https://issues.jboss.org/browse/ISPN-6359
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 8.2.0.Final
> Reporter: Dan Berindei
> Assignee: Pedro Ruivo
> Fix For: 9.0.0.Alpha1
>
>
> {noformat}
> java.lang.AssertionError: Wrong number of contented keys expected [0] but found [1]
> at org.testng.Assert.fail(Assert.java:94)
> at org.testng.Assert.failNotEquals(Assert.java:494)
> at org.testng.Assert.assertEquals(Assert.java:123)
> at org.testng.Assert.assertEquals(Assert.java:265)
> at org.infinispan.stats.BaseClusterTopKeyTest.assertTopKeyLockContented(BaseClusterTopKeyTest.java:282)
> at org.infinispan.stats.BaseClusterTopKeyTest.assertLockInformation(BaseClusterTopKeyTest.java:293)
> at org.infinispan.stats.BaseClusterTopKeyTest.testPut(BaseClusterTopKeyTest.java:75)
> {noformat}
> Example failure in CI: http://ci.infinispan.org/viewLog.html?buildId=37214&buildTypeId=bt9&tab=buildResultsDiv
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list