You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "James Dyer (Jira)" <ji...@apache.org> on 2025/10/07 15:31:00 UTC
[jira] [Updated] (SOLR-17945) Fix flaky test: CloudHttp2SolrClientTest#testHttpCspPerf
[ https://issues.apache.org/jira/browse/SOLR-17945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Dyer updated SOLR-17945:
------------------------------
Fix Version/s: 9.x
10.x
> 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
> Fix For: 9.x, 10.x
>
>
> 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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org