[JBoss JIRA] (ISPN-6470) CapacityFactorsFunctionalTest.testCapacityFactors random failures
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-6470?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-6470:
--------------------------------
Fix Version/s: 9.0.0.Beta1
(was: 9.0.0.Alpha4)
> 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.Beta1
>
>
> 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}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 8 months
[JBoss JIRA] (ISPN-6647) DecoratedCache.putForExternalRead method with Metadata ignores Metadata
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-6647?page=com.atlassian.jira.plugin.... ]
William Burns updated ISPN-6647:
--------------------------------
Fix Version/s: 9.0.0.Beta1
(was: 9.0.0.Alpha4)
> DecoratedCache.putForExternalRead method with Metadata ignores Metadata
> -----------------------------------------------------------------------
>
> Key: ISPN-6647
> URL: https://issues.jboss.org/browse/ISPN-6647
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core
> Affects Versions: 8.2.2.Final
> Reporter: Karl von Randow
> Assignee: Karl von Randow
> Priority: Minor
> Fix For: 9.0.0.Beta1, 8.2.4.Final
>
>
> The implementation of the {{putForExternalRead}} method ignores the {{Metadata}} parameter, instead of passing it on to the {{putForExternalRead}} method in the cache implementation. This is no doubt because the cache implementation previously didn't support {{Metadata}} for {{putForExternalRead}}.
> I will prepare a PR and attach it to this ticket shortly. It was a gargantuan effort to patch this up, as you'll see!
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 8 months