[ 
https://issues.apache.org/jira/browse/SOLR-17661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17959795#comment-17959795
 ] 

ASF subversion and git services commented on SOLR-17661:
--------------------------------------------------------

Commit 4d020b88d9147c0b765e54841fdea5bee5c2de45 in solr's branch 
refs/heads/branch_9x from Houston Putman
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=4d020b88d91 ]

SOLR-17661: Fix flaky TestLTRQParserPlugin tests

The flaky tests are:
- 
TestLTRQParserPlugin.ltr_expensiveFeatureRescoring_shouldTimeOutAndReturnPartialResults
- 
TestLTRQParserPlugin.ltr_expensiveFeatureRescoringAndPartialResultsNotTolerated_shouldRaiseException

These tests have to timeout after the initial search is complete, and
during the reranking phase. The reranking model takes 1 second to load,
so increase the timeout to 800ms so that the search is more likely to
complete in that timeframe.

(cherry picked from commit 2e159066ee43294cd6b9298df85e9b2901377b10)


> Flaky test: 
> TestLTRQParserPlugin.ltr_expensiveFeatureRescoring_shouldTimeOutAndReturnPartialResults
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-17661
>                 URL: https://issues.apache.org/jira/browse/SOLR-17661
>             Project: Solr
>          Issue Type: Test
>          Components: contrib - LTR
>            Reporter: David Smiley
>            Priority: Minor
>
> TestLTRQParserPlugin.ltr_expensiveFeatureRescoring_shouldTimeOutAndReturnPartialResults
> is flaky (aka a flapper).  See 
> [develocity|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=solr-root&search.timeZoneId=America%2FNew_York&tests.container=org.apache.solr.ltr.TestLTRQParserPlugin&tests.test=ltr_expensiveFeatureRescoring_shouldTimeOutAndReturnPartialResults]
>  and 
> [fucit|http://fucit.org/solr-jenkins-reports/history-trend-of-recent-failures.html#series/org.apache.solr.ltr.TestLTRQParserPlugin.ltr_expensiveFeatureRescoring_shouldTimeOutAndReturnPartialResults].
> {noformat}
> java.lang.AssertionError: mismatch: '4'!='0' @ response/numFound
> 2025-02-08T16:59:43.0317686Z         at 
> __randomizedtesting.SeedInfo.seed([8D9A051D8B7F602C:3DA5B3239B06B220]:0)
> 2025-02-08T16:59:43.0321872Z         at org.junit.Assert.fail(Assert.java:89)
> 2025-02-08T16:59:43.0322542Z         at 
> org.apache.solr.util.RestTestBase.assertJsonMatches(RestTestBase.java:268)
> 2025-02-08T16:59:43.0323357Z         at 
> org.apache.solr.util.RestTestBase.assertJQ(RestTestBase.java:210)
> 2025-02-08T16:59:43.0326697Z         at 
> org.apache.solr.util.RestTestBase.assertJQ(RestTestBase.java:182)
> 2025-02-08T16:59:43.0331325Z         at 
> org.apache.solr.ltr.TestLTRQParserPlugin.ltr_expensiveFeatureRescoring_shouldTimeOutAndReturnPartialResults(TestLTRQParserPlugin.java:160)
> {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]

Reply via email to