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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-alpha4, 4.0
    • Test/unit
    • None
    • Correctness - Test Failure
    • Normal
    • Normal
    • Unit Test
    • All
    • None
    • 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-dtests-results.png
          386 kB
          Gianluca Righetto
        2. 15528-4.0-alpha.txt
          4 kB
          Gianluca Righetto

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: