]
Adrian Nistor updated ISPN-3325:
--------------------------------
Issue Type: Bug (was: Feature Request)
ConsistentHashV1IntegrationTest.testCorrectBalancingOfKeysAfterNodeKill random failures
---------------------------------------------------------------------------------------
Key: ISPN-3325
URL:
https://issues.jboss.org/browse/ISPN-3325
Project: Infinispan
Issue Type: Bug
Components: Test Suite
Affects Versions: 5.3.0.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Labels: testsuite_stability
Fix For: 6.0.0.Alpha2, 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: