David Smiley created SOLR-11757:
-----------------------------------

             Summary: SolrException.ignoreException race conditions in tests
                 Key: SOLR-11757
                 URL: https://issues.apache.org/jira/browse/SOLR-11757
             Project: Solr
          Issue Type: Test
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: David Smiley
            Assignee: David Smiley


It seems somehow race conditions between tests starting or closing can result 
in SolrException.ignoreExceptions (a set of patterns) getting modified and read 
concurrently causing a ConcurrentModificationException. 

{noformat}
com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
 uncaughtException
   [junit4]   2> WARNING: Uncaught exception in thread: 
Thread[OverseerCollectionConfigSetProcessor-99162700839714821-127.0.0.1:39413_solr-n_0000000000,5,Overseer
 collection creation process.]
   [junit4]   2> java.util.ConcurrentModificationException
   [junit4]   2>     at 
__randomizedtesting.SeedInfo.seed([E519150A6D300C6B]:0)
   [junit4]   2>     at 
java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1494)
   [junit4]   2>     at 
java.base/java.util.HashMap$KeyIterator.next(HashMap.java:1517)
   [junit4]   2>     at 
org.apache.solr.common.SolrException.doIgnore(SolrException.java:202)
   [junit4]   2>     at 
org.apache.solr.common.SolrException.log(SolrException.java:154)
   [junit4]   2>     at 
org.apache.solr.cloud.OverseerTaskProcessor.run(OverseerTaskProcessor.java:305)
   [junit4]   2>     at java.base/java.lang.Thread.run(Thread.java:844)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to