Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12263

RemoteCacheMetricBinderTest fails

    XMLWordPrintable

Details

    Description

      RemoteCacheMetricBinderTest currently doesn't run at all, because of ISPN-12255. After fixing ISPN-12255, it still doesn't pass, but with Surefire the setup failure is reported just as

      [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 70.094 s - in test.org.infinispan.spring.starter.remote.actuator.RemoteCacheMetricBinderTest
      

      When run in the IDE, multiple problems become apparent:

      • InfinispanServerExtension.beforeTestExecution() runs too late, so the TestClient is not available in InfinispanCacheMetricBinderTest.binder()
      • InfinispanServerExtension.afterTestExecution() runs too early, so the TestClient is no longer available in InfinispanCacheMetricBinderTest.cleanCache()
      • The mycache cache is not defined on the server
      • The RemoteCacheManager does not have statistics enabled

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei (Inactive)
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: