Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-801

RemoteAsyncAPITest fails with NoSuchMethodError: org.junit.Assert.assertNotEquals

XMLWordPrintable

      assertNotEquals was added in Junit 4.11 and the client uses 4.10.

      Stacktrace:
      java.lang.NoSuchMethodError: org.junit.Assert.assertNotEquals(JJ)V
      at org.infinispan.client.hotrod.RemoteAsyncAPITest.testReplaceWithVersionAsync(RemoteAsyncAPITest.java:200)
      at java.lang.reflect.Method.invoke(Method.java:486)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:79)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:717)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1228)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
      at org.testng.TestRunner.privateRun(TestRunner.java:766)
      at org.testng.TestRunner.run(TestRunner.java:617)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:336)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
      at org.testng.SuiteRunner.run(SuiteRunner.java:240)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:64)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:87)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1123)
      at org.testng.TestNG.run(TestNG.java:1031)
      at org.infinispan.client.hotrod.JavaClientTests.main(JavaClientTests.java:90)

            mgencur Martin Gencur
            mgencur Martin Gencur
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: