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

Radim Vansa (JIRA) issues at jboss.org
Fri Jul 29 04:12:00 EDT 2016


Radim Vansa created ISPN-6910:
---------------------------------

             Summary: 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


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