[
https://issues.apache.org/jira/browse/SOLR-17945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18029681#comment-18029681
]
ASF subversion and git services commented on SOLR-17945:
--------------------------------------------------------
Commit 20d810785c1ac68856fd15561fe0e3d614816117 in solr's branch
refs/heads/dependabot/gradle/apache-poi-5.4.1 from James Dyer
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=20d810785c1 ]
SOLR-17945: fix flaky test CloudHttp2SolrClientTest#testHttpCspPerf (#3742)
> Fix flaky test: CloudHttp2SolrClientTest#testHttpCspPerf
> --------------------------------------------------------
>
> Key: SOLR-17945
> URL: https://issues.apache.org/jira/browse/SOLR-17945
> Project: Solr
> Issue Type: Bug
> Components: SolrJ
> Affects Versions: main (10.0), 9.9
> Reporter: James Dyer
> Assignee: James Dyer
> Priority: Minor
> Labels: pull-request-available
> Fix For: main (10.0), 9.10
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Since 9/22/2025 *CloudHttp2SolrClientTest#testHttpCspPerf* has been failing
> periodically, both in branch_9x and in main/10.x. This test verifies that
> CloudHttp2SolrClient is properly caching cluster state. See SOLR-14985 for
> background. The verification counts the logged requests to the CLUSTERSTATUS
> endpoint and fails if it was called too many times.
> However, with the addition of SOLR-17921, a background process also calls
> CLUSTERSTATUS. This can lead to too many calls and periodic test failures.
> A simple fix is to increase the background task's polling interval to a very
> large number. This ensures it never runs while the test is in progress.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]