Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6910

Random failures due to MagicKey

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 9.0.0.Beta1, 9.0.0.Final
    • 9.0.0.Alpha3
    • Test Suite
    • None

    Description

      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.

      Attachments

        Activity

          People

            rvansa1@redhat.com Radim Vansa (Inactive)
            rvansa1@redhat.com Radim Vansa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: