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

Unit tests in org.apache.cassandra.cql3.EmptyValuesTest class occasionally failing with JDK17

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 5.0-alpha1, 5.0
    • CI
    • None
    • Correctness - Test Failure
    • Normal
    • Normal
    • User Report
    • All
    • None
    • Hide
      Branch CI
      trunk java17

      The test was also run in a loop here

      It seems there was an issue with CI setup before as the test does not fail anymore. Suggested patch is just to add a few more assertions to improve the test

      Show
      Branch CI trunk java17 The test was also run in a loop here It seems there was an issue with CI setup before as the test does not fail anymore. Suggested patch is just to add a few more assertions to improve the test

    Description

       

      All of them failed with the below stack trace for the same assertion failing:

      junit.framework.AssertionFailedError: at org.apache.cassandra.cql3.EmptyValuesTest.verify(EmptyValuesTest.java:90) at org.apache.cassandra.cql3.EmptyValuesTest.verifyJsonInsert(EmptyValuesTest.java:112) at org.apache.cassandra.cql3.EmptyValuesTest.testEmptyDecimal(EmptyValuesTest.java:192) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      

       

      Unfortunately I do not have a link to the CI run as this was seen last in private infra and not in CircleCI. Maybe we want to check with the multiplexer for flakiness. 

      Attachments

        Activity

          People

            djatnieks dan jatnieks
            e.dimitrova Ekaterina Dimitrova
            dan jatnieks
            Berenguer Blasi, Ekaterina Dimitrova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: