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

Fix NoSuchMethodError: 'org.apache.cassandra.distributed.api.NodeToolResult$Asserts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • 4.0-alpha4, 4.0
    • Test/unit
    • None
    • Code
    • Normal
    • Normal
    • Unit Test
    • All
    • None

    Description

      It seems that there was a regression introduced with CASSANDRA-15650 as the first failures of that kind started to happen here.

       

      [junit-timeout] Testcase: prepareRPCTimeout[DATACENTER_AWARE/true](org.apache.cassandra.distributed.test.PreviewRepairCoordinatorTimeoutTest):	Caused an ERROR
      [junit-timeout] 'org.apache.cassandra.distributed.api.NodeToolResult$Asserts org.apache.cassandra.distributed.api.NodeToolResult$Asserts.errorContains(java.lang.String[])'
      [junit-timeout] java.lang.NoSuchMethodError: 'org.apache.cassandra.distributed.api.NodeToolResult$Asserts org.apache.cassandra.distributed.api.NodeToolResult$Asserts.errorContains(java.lang.String[])'
      [junit-timeout] 	at org.apache.cassandra.distributed.test.RepairCoordinatorTimeout.lambda$prepareRPCTimeout$0(RepairCoordinatorTimeout.java:45)
      [junit-timeout] 	at org.apache.cassandra.utils.AssertUtil.lambda$assertTimeoutPreemptively$0(AssertUtil.java:39)
      [junit-timeout] 	at org.apache.cassandra.utils.AssertUtil.lambda$assertTimeoutPreemptively$1(AssertUtil.java:67)
      [junit-timeout] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      [junit-timeout] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      [junit-timeout] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      [junit-timeout] 	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
      [junit-timeout] 	at java.base/java.lang.Thread.run(Thread.java:834)
      

       

      Attachments

        Issue Links

          Activity

            People

              eduard.tudenhoefner Eduard Tudenhoefner
              eduard.tudenhoefner Eduard Tudenhoefner
              Eduard Tudenhoefner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: