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

Java test suite is missing infinispan-server-core dependency

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JDG 7.2 ER1
    • JDG 7.2 DR4
    • HotRod C# client
    • None

    Description

      The tests from the Java test suite fail with this error:

      org.infinispan.client.hotrod.ForceReturnValuesTest.createBeforeMethod
      java.lang.NoClassDefFoundError: org/infinispan/server/core/test/ServerTestingUtil
      	at IKVM.Runtime.ByteCodeHelper.LoadTypeWrapper(Unknown Source)
      	at IKVM.Runtime.ByteCodeHelper.DynamicLoadMethodHandleImpl(Unknown Source)
      	at IKVM.Runtime.ByteCodeHelper.DynamicBinderMemberLookup(Unknown Source)
      	at org.infinispan.client.hotrod.test.HotRodClientTestingUtil.startHotRodServer(HotRodClientTestingUtil.java:49)
      	at org.infinispan.client.hotrod.test.HotRodClientTestingUtil.startHotRodServer(HotRodClientTestingUtil.java:57)
      	at org.infinispan.client.hotrod.ForceReturnValuesTest.createCacheManager(ForceReturnValuesTest.java:30)
      	at org.infinispan.test.SingleCacheManagerTest.setup(SingleCacheManagerTest.java:31)
      	at org.infinispan.test.SingleCacheManagerTest.createBeforeMethod(SingleCacheManagerTest.java:55)
      	at org.infinispan.client.hotrod.JavaClientTests.main(JavaClientTests.java:92)
      Caused by: java.lang.ClassNotFoundException: org.infinispan.server.core.test.ServerTestingUtil
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:440)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:375)
      	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:493)
      	at IKVM.Internal.ClassLoaderWrapper.LoadClassImpl(Unknown Source)
      	at IKVM.Internal.ClassLoaderWrapper.LoadClass(Unknown Source)
      	... 29 more
      ... Removed 20 stack frames
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: