[infinispan-issues] [JBoss JIRA] (ISPN-7997) DistributedStreamIteratorTest.testLocallyForcedStream random failure
Tristan Tarrant (JIRA)
issues at jboss.org
Fri Jul 14 13:04:06 EDT 2017
[ https://issues.jboss.org/browse/ISPN-7997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated ISPN-7997:
----------------------------------
Fix Version/s: 9.2.0.Final
(was: 9.1.0.Final)
> DistributedStreamIteratorTest.testLocallyForcedStream random failure
> --------------------------------------------------------------------
>
> Key: ISPN-7997
> URL: https://issues.jboss.org/browse/ISPN-7997
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.1.0.Beta1
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Critical
> Labels: testsuite_stability
> Fix For: 9.2.0.Final
>
>
> The test uses the {{MagicKey(primary, backup...)}} constructor with only 16 segments and with the default {{SyncConsistentHashFactory}}. Since SCHF is based on the random addresses of the nodes, the combination of owners is not always possible:
> {noformat}
> testLocallyForcedStream[DIST_SYNC, tx=false](org.infinispan.stream.DistributedStreamIteratorTest) Time elapsed: 0.015 sec <<< FAILURE! java.lang.IllegalStateException: Could not find any segment owned by Cache 'org.infinispan.stream.DistributedStreamIteratorTest'@DistributedStreamIteratorTest[DIST_SYNC, tx=false]-NodeAM-5250, [Cache 'org.infinispan.stream.DistributedStreamIteratorTest'@DistributedStreamIteratorTest[DIST_SYNC, tx=false]-NodeAL-48678], primary segments: {1-3 5 10 14}, backup segments: {Cache 'org.infinispan.stream.DistributedStreamIteratorTest'@DistributedStreamIteratorTest[DIST_SYNC, tx=false]-NodeAL-48678={0 8-9 13}}
> at org.infinispan.distribution.MagicKey.<init>(MagicKey.java:88)
> at org.infinispan.distribution.MagicKey.<init>(MagicKey.java:137)
> at org.infinispan.stream.DistributedStreamIteratorTest.magicKey(DistributedStreamIteratorTest.java:324)
> at org.infinispan.stream.DistributedStreamIteratorTest.testLocallyForcedStream(DistributedStreamIteratorTest.java:297)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list