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

RemoteCacheMetricBinderTest fails

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: