Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15528

Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testInvalidate

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0, 4.0-alpha4
    • Component/s: Test/unit
    • Labels:
      None
    • Bug Category:
      Correctness - Test Failure
    • Severity:
      Normal
    • Complexity:
      Normal
    • Discovered By:
      Unit Test
    • Platform:
      All
    • Impacts:
      None
    • Since Version:
    • Test and Documentation Plan:
      Hide

      In order to reproduce this issue, induce an exception on line 1108 of o.a.c.i.s.SASIIndexTest.java and execute the unit tests. After applying the provided patch, the issue is not reproducible anymore.

      Show
      In order to reproduce this issue, induce an exception on line 1108 of o.a.c.i.s.SASIIndexTest.java and execute the unit tests. After applying the provided patch, the issue is not reproducible anymore.

      Description

      junit.framework.AssertionFailedError: [key0, key2918, key2919, key2920, key2921, key2922, key2924, key2926, key2927, key2928]
      	at org.apache.cassandra.index.sasi.SASIIndexTest.testInvalidate(SASIIndexTest.java:874)
      	at org.apache.cassandra.index.sasi.SASIIndexTest.testInvalidate(SASIIndexTest.java:852)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      

        Attachments

        1. 15528-4.0-alpha.txt
          4 kB
          Gianluca Righetto
        2. 15528-dtests-results.png
          386 kB
          Gianluca Righetto

          Issue Links

            Activity

              People

              • Assignee:
                gianluca Gianluca Righetto
                Reporter:
                dcapwell David Capwell
                Authors:
                Gianluca Righetto
                Reviewers:
                Ekaterina Dimitrova, Zhao Yang
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: