[infinispan-issues] [JBoss JIRA] (ISPN-3325) ConsistentHashV1IntegrationTest.testCorrectBalancingOfKeysAfterNodeKill random failures
Mircea Markus (JIRA)
jira-events at lists.jboss.org
Wed Jul 17 08:16:28 EDT 2013
[ https://issues.jboss.org/browse/ISPN-3325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mircea Markus updated ISPN-3325:
--------------------------------
Assignee: Dan Berindei (was: Mircea Markus)
> ConsistentHashV1IntegrationTest.testCorrectBalancingOfKeysAfterNodeKill random failures
> ---------------------------------------------------------------------------------------
>
> Key: ISPN-3325
> URL: https://issues.jboss.org/browse/ISPN-3325
> Project: Infinispan
> Issue Type: Feature Request
> Components: Test Suite
> Affects Versions: 5.3.0.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Labels: testsuite_stability
> Fix For: 6.0.0.Final
>
>
> The test adds a 5th server, but {{ConsistentHashV1IntegrationTest.getHitServer()}} assumes that the requests hit one of the original 4 servers. Because the server CH to client CH is imperfect in protocol versions 1.1 and 1.2, some of the requests may instead hit server 5, causing a {{NullPointerException}}:
> {noformat}
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:547)
> at java.util.ArrayList.get(ArrayList.java:322)
> at org.infinispan.client.hotrod.ConsistentHashV1IntegrationTest.getHitServer(ConsistentHashV1IntegrationTest.java:204)
> at org.infinispan.client.hotrod.ConsistentHashV1IntegrationTest.runTest(ConsistentHashV1IntegrationTest.java:129)
> at org.infinispan.client.hotrod.ConsistentHashV1IntegrationTest.testCorrectBalancingOfKeysAfterNodeKill(ConsistentHashV1IntegrationTest.java:160)
> {noformat}
--
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