[infinispan-issues] [JBoss JIRA] (ISPN-10521) CacheMgmtInterceptorMBeanTest.testStores random failure

Dan Berindei (Jira) issues at jboss.org
Tue Aug 27 03:40:00 EDT 2019


Dan Berindei created ISPN-10521:
-----------------------------------

             Summary: CacheMgmtInterceptorMBeanTest.testStores random failure
                 Key: ISPN-10521
                 URL: https://issues.jboss.org/browse/ISPN-10521
             Project: Infinispan
          Issue Type: Bug
          Components: Test Suite - Core
    Affects Versions: 10.0.0.CR1
            Reporter: Dan Berindei
            Assignee: Will Burns
             Fix For: 10.0.0.CR2


The test calls {{TestingUtil.cleanUpDataContainerForCache(cache)}}, but apparently it's still not enough to guarantee that the number of entries is correct:

{noformat}
12:05:33.109 [ERROR] jmx.CacheMgmtInterceptorMBeanTest(org.infinispan.jmx.CacheMgmtInterceptorMBeanTest)  Time elapsed: 0.009 s  <<< FAILURE!
java.lang.AssertionError: expecting 4.0 for NumberOfEntries, but received 3
	at org.infinispan.jmx.CacheMgmtInterceptorMBeanTest.assertAttributeValue(CacheMgmtInterceptorMBeanTest.java:228)
	at org.infinispan.jmx.CacheMgmtInterceptorMBeanTest.assertCurrentNumberOfEntries(CacheMgmtInterceptorMBeanTest.java:267)
	at org.infinispan.jmx.CacheMgmtInterceptorMBeanTest.testStores(CacheMgmtInterceptorMBeanTest.java:148)
{noformat}




--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list