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

Use default cache in InfinispanRemoteProducerTest

XMLWordPrintable

    • JDG Sprint #9

      The test currently uses "my-cache" which causes the following exception when running the InfinispanRemoteProducerIT which extends this test.

      producerPublishesKeyAndValue(org.apache.camel.itest.eap.InfinispanRemoteProducerIT)  Time elapsed: 1.916 sec  <<< FAILURE!
      java.lang.AssertionError: expected null, but was:<java.lang.reflect.InvocationTargetException>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotNull(Assert.java:664)
      	at org.junit.Assert.assertNull(Assert.java:646)
      	at org.junit.Assert.assertNull(Assert.java:656)
      	at org.apache.camel.component.infinispan.InfinispanRemoteProducerTest.producerPublishesKeyAndValue(InfinispanRemoteProducerTest.java:39)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      

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

                Created:
                Updated:
                Resolved: