[
https://issues.apache.org/jira/browse/SOLR-17889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18021129#comment-18021129
]
ASF subversion and git services commented on SOLR-17889:
--------------------------------------------------------
Commit e049d156ab709e8470c82c0622dbc48b5da94c7a in solr's branch
refs/heads/main from Pierre Salagnac
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=e049d156ab7 ]
SOLR-17889: Fix noisy TestMainQueryCaching and TestFiltersQueryCaching, and
cleanups (#3660)
This change includes some code cleanups in the code that opens a new searcher
(with no behavior changes) mostly to remove some annoying
@SuppressWarnings("unchecked") annotations. No functional changes there.
> Query cache tests are flaky
> ---------------------------
>
> Key: SOLR-17889
> URL: https://issues.apache.org/jira/browse/SOLR-17889
> Project: Solr
> Issue Type: Test
> Reporter: Pierre Salagnac
> Assignee: Pierre Salagnac
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {{TestFiltersQueryCaching}} and {{TestMainQueryCaching}} are flaky and fail
> about 1% of time.
> Filter cache
> [history|http://fucit.org/solr-jenkins-reports/history-trend-of-recent-failures.html#series/org.apache.solr.search.TestFiltersQueryCaching.testRecursiveFilter]
> Issue come from cache metrics which are updated asynchronously after core
> reload.
> {code:java}
> java.lang.AssertionError: expected:<2> but was:<0>
> at
> __randomizedtesting.SeedInfo.seed([DE337F9609F255C4:B0E41C858C64E8F8]: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.junit.Assert.assertEquals(Assert.java:633)
> at
> org.apache.solr.search.TestFiltersQueryCaching.testRecursiveFilter(TestFiltersQueryCaching.java:149)
> at
> java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
> at java.base/java.lang.reflect.Method.invoke(Method.java:565)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]