Shalin Shekhar Mangar created SOLR-11821:
--------------------------------------------
Summary: ConcurrentModificationException in
SimSolrCloudTestCase.tearDown
Key: SOLR-11821
URL: https://issues.apache.org/jira/browse/SOLR-11821
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: AutoScaling, Tests
Reporter: Shalin Shekhar Mangar
Fix For: master (8.0), 7.3
I noticed a few test failures on jenkins such as the following:
{code}
FAILED:
org.apache.solr.cloud.autoscaling.sim.TestComputePlanAction.testNodeLost
Error Message:
Stack Trace:
java.util.ConcurrentModificationException
at
__randomizedtesting.SeedInfo.seed([A41248828EFF34E3:1B07867C0D155165]:0)
at
java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:937)
at java.base/java.util.ArrayList$Itr.next(ArrayList.java:891)
at
org.apache.solr.cloud.autoscaling.sim.SimSolrCloudTestCase.tearDown(SimSolrCloudTestCase.java:141)
{code}
The line in question iterates over a synchronized List but synchronized list
does not return a safe iterator.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]