[infinispan-issues] [JBoss JIRA] (ISPN-6910) Random failures due to MagicKey

Tristan Tarrant (JIRA) issues at jboss.org
Tue Aug 9 11:28:00 EDT 2016


     [ https://issues.jboss.org/browse/ISPN-6910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-6910:
----------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/4487


> Random failures due to MagicKey
> -------------------------------
>
>                 Key: ISPN-6910
>                 URL: https://issues.jboss.org/browse/ISPN-6910
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Test Suite - Core
>    Affects Versions: 9.0.0.Alpha3
>            Reporter: Radim Vansa
>            Assignee: Radim Vansa
>             Fix For: 9.0.0.Beta1, 9.0.0.Final
>
>
> There is a fixed 1000-iteration loop to find out proper key. In tests that create many magic keys, the cumulative probability of failing one of the keys' generation is going up and this is causing random failures in the testsuite.
> Moreover, the equality of magic keys is based only on the hashCode - with many keys, there is a non-trivial chance that the hashcodes will make two logically different keys equal.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list