[infinispan-issues] [JBoss JIRA] (ISPN-2622) Random failure in RpcManagerMBeanTest
Dan Berindei (JIRA)
jira-events at lists.jboss.org
Fri Jan 25 05:45:47 EST 2013
[ https://issues.jboss.org/browse/ISPN-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Berindei resolved ISPN-2622.
--------------------------------
Resolution: Done
The original issue should be fixed because of ISPN-2581. I'm creating a separate issue for the new failure.
> Random failure in RpcManagerMBeanTest
> -------------------------------------
>
> Key: ISPN-2622
> URL: https://issues.jboss.org/browse/ISPN-2622
> Project: Infinispan
> Issue Type: Bug
> Components: RPC
> Affects Versions: 5.2.0.Beta5
> Reporter: Dan Berindei
> Assignee: Mircea Markus
> Priority: Minor
> Labels: testsuite_stability
> Fix For: 5.3.0.Final
>
> Attachments: testEnableJmxStats-0.log
>
>
> The test records the replication counter in RpcManagerImpl at the start of the test and after a put operation, and asserts that it only changed by 1. Occasionally, the assertion fails:
> {noformat}
> java.lang.AssertionError: expected [1] but found [2]
> at org.testng.Assert.fail(Assert.java:89)
> at org.testng.Assert.failNotEquals(Assert.java:489)
> at org.testng.Assert.assertEquals(Assert.java:118)
> at org.testng.Assert.assertEquals(Assert.java:160)
> at org.infinispan.jmx.RpcManagerMBeanTest.testEnableJmxStats(RpcManagerMBeanTest.java:126)
> {noformat}
> This happens because replication counter is only incremented *after* a successful RPC. The test starts when the cluster is considered "formed", that is when all the nodes are included in the read CH on every node. But that doesn't mean that the RPCs pushing state have finished - a pushing node may still be waiting for a response and so it might increment its replication counter after the start of the test.
--
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: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list