[
https://issues.apache.org/jira/browse/SOLR-18252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18083322#comment-18083322
]
ASF subversion and git services commented on SOLR-18252:
--------------------------------------------------------
Commit 3aa6aa2085ac3ec5b90d181a7db7577c57318d4a in solr's branch
refs/heads/main from Andrzej Bialecki
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=3aa6aa2085a ]
SOLR-18252: Fix flaky test by avoiding race conditions. (#4462)
Co-authored by: hoss.
> high failure rate from SolrAndKafkaIntegrationTest.testPartitioning
> --------------------------------------------------------------------
>
> Key: SOLR-18252
> URL: https://issues.apache.org/jira/browse/SOLR-18252
> Project: Solr
> Issue Type: Test
> Components: module - crossDC
> Reporter: Chris M. Hostetter
> Assignee: Andrzej Bialecki
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Since it was added a few weeks ago,
> {{SolrAndKafkaIntegrationTest.testPartitioning}} has had a jenkins failure
> rate of ~20%.
> based on an ad-hoc review of some of the jenkins logs, the failures seem to
> fall into 2 categories...
> {noformat}
> > java.lang.AssertionError: incorrect count in collection collection1
> expected:<200> but was:<199>
> > at
> __randomizedtesting.SeedInfo.seed([F418E49D11BF02D5:A809F6571555C802]:0)
> > at org.junit.Assert.fail(Assert.java:89)
> > at org.junit.Assert.failNotEquals(Assert.java:835)
> > at org.junit.Assert.assertEquals(Assert.java:647)
> > at
> org.apache.solr.crossdc.manager.SolrAndKafkaIntegrationTest.lambda$testPartitioning$2(SolrAndKafkaIntegrationTest.java:380)
> {noformat}
> ...and...
> {noformat}
> 2> 54261 INFO
> (TEST-SolrAndKafkaIntegrationTest.testPartitioning-seed#[710FF61F1D2B5BF0])
> [] o.a.s.SolrTestCaseJ4 ###Ending testPartitioning
> > java.util.ConcurrentModificationException
> > at
> __randomizedtesting.SeedInfo.seed([710FF61F1D2B5BF0:2D1EE4D519C19127]:0)
> > at
> java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1104)
> > at java.base/java.util.ArrayList$Itr.next(ArrayList.java:1058)
> > at
> org.apache.solr.crossdc.manager.SolrAndKafkaIntegrationTest.testPartitioning(SolrAndKafkaIntegrationTest.java:363)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]