]
Vittorio Rigamonti updated ISPN-6470:
-------------------------------------
Fix Version/s: 9.0.0.Alpha2
(was: 9.0.0.Alpha1)
CapacityFactorsFunctionalTest.​testCapacityFactors random failures
------------------------------------------------------------------
Key: ISPN-6470
URL:
https://issues.jboss.org/browse/ISPN-6470
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 8.2.1.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Critical
Labels: testsuite_stability
Fix For: 9.0.0.Alpha2
When nodes have different capacity factors, {{SyncConsistentHashFactory}} sometimes has
trouble assigning the segments correctly:
{noformat}
java.lang.AssertionError: Expected between:<20.0> and:<50.0> but
was:<52.0>
at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
at org.infinispan.test.TestingUtil.assertBetween(TestingUtil.java:1455)
at
org.infinispan.distribution.ch.CapacityFactorsFunctionalTest.assertOwned(CapacityFactorsFunctionalTest.java:96)
at
org.infinispan.distribution.ch.CapacityFactorsFunctionalTest.testCapacityFactors(CapacityFactorsFunctionalTest.java:65)
{noformat}