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

Fix test distributed.test.trackwarnings.TombstoneWarningTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • NA
    • Test/dtest/java
    • None

    Description

      https://app.circleci.com/pipelines/github/dcapwell/cassandra/1103/workflows/9a6767c7-fadf-4d86-9296-e8973167c6fe/jobs/7897

      Passed on jdk8 but failed on jdk11.

      Failures

      junit.framework.AssertionFailedError: expected:<...7.0.0.1=1, /127.0.0.[2=1, /127.0.0.]3=1}> but was:<...7.0.0.1=1, /127.0.0.[]3=1}>
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at org.apache.cassandra.distributed.test.trackwarnings.TombstoneWarningTest.failThreshold(TombstoneWarningTest.java:233)
      	at org.apache.cassandra.distributed.test.trackwarnings.TombstoneWarningTest.failThresholdScan(TombstoneWarningTest.java:189)
      	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)
      

      and

      junit.framework.AssertionFailedError: [global aborts] expected:<[2]L> but was:<[3]L>
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at org.apache.cassandra.distributed.test.trackwarnings.TombstoneWarningTest.assertWarnAborts(TombstoneWarningTest.java:294)
      	at org.apache.cassandra.distributed.test.trackwarnings.TombstoneWarningTest.failThreshold(TombstoneWarningTest.java:219)
      	at org.apache.cassandra.distributed.test.trackwarnings.TombstoneWarningTest.failThresholdSinglePartition(TombstoneWarningTest.java:183)
      	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

        Issue Links

          Activity

            People

              dcapwell David Capwell
              dcapwell David Capwell
              David Capwell
              Caleb Rackliffe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: