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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Duplicate
    • Fix Version/s: 4.0, 4.0-alpha4
    • Component/s: Test/unit
    • Labels:
      None
    • Bug Category:
      Code
    • Severity:
      Normal
    • Complexity:
      Normal
    • Discovered By:
      Unit Test
    • Platform:
      All
    • Impacts:
      None
    • Since Version:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: