Uploaded image for project: 'Hot Rod Native client'
  1. Hot Rod Native client
  2. HRCPP-117

CacheManagerStoppedTest.testPutAll() is not throwing a RemoteCacheManagerNotStartedException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.0.CR2
    • 6.0.2.Final
    • None
    • None

    Description

      After updating the java.i file to throw specific Java exceptions (https://github.com/infinispan/cpp-client/pull/119), I noticed this error message in the log from running the JniTest:

      8: FAILED: testPutAll
      8: org.testng.TestException: 
      8: Method CacheManagerStoppedTest.testPutAll()[pri:0, instance:org.infinispan.client.hotrod.CacheManagerStoppedTest@43bf3d77] should have thrown an exception of class org.infinispan.client.hotrod.exceptions.RemoteCacheManagerNotStartedException
      8: 	at org.infinispan.client.jni.hotrod.JniTest.main(JniTest.java:54)
      8: Method CacheManagerStoppedTest.testPutAll()[pri:0, instance:org.infinispan.client.hotrod.CacheManagerStoppedTest@43bf3d77] should have thrown an exception of class org.infinispan.client.hotrod.exceptions.RemoteCacheManagerNotStartedException
      8: 	... 14 more
      8: ... Removed 21 stack frames
      

      Need to investigate why this is happening.

      Attachments

        Activity

          People

            ttarrant@redhat.com Tristan Tarrant
            rhn-support-afield Alan Field
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: