[infinispan-issues] [JBoss JIRA] (ISPN-8966) CacheManagerAdminSharedPermanentTest.testClusterCacheTest random failure
William Burns (JIRA)
issues at jboss.org
Tue Mar 20 09:15:00 EDT 2018
William Burns created ISPN-8966:
-----------------------------------
Summary: CacheManagerAdminSharedPermanentTest.testClusterCacheTest random failure
Key: ISPN-8966
URL: https://issues.jboss.org/browse/ISPN-8966
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 9.2.0.Final
Reporter: William Burns
Assignee: Tristan Tarrant
The test has failed randomly once that I have seen thus far. My guess is that the node hasn't had time to fully join the cache view. We may have to add a wait to ensure the cache views are consistent.
Something like
{code}
TestingUtil.blockUntilViewsReceived(60000, false, caches);
TestingUtil.waitForNoRebalance(caches);
{code}
https://ci.infinispan.org/job/Infinispan/job/PR-5845/2/testReport/junit/org.infinispan.manager/CacheManagerAdminSharedPermanentTest/testClusterCacheTest/
Stack trace just in case we lose the history
{code}
java.lang.AssertionError: expected:<2> but was:<1>
at org.infinispan.manager.CacheManagerAdminTest.checkConsistencyAcrossCluster(CacheManagerAdminTest.java:85)
at org.infinispan.manager.CacheManagerAdminPermanentTest.testClusterCacheTest(CacheManagerAdminPermanentTest.java:80)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
... Removed 21 stack frames
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list