Skip to content

Conversation

@drempapis
Copy link
Contributor

Currently, the ShardSearchStatsTests class only includes assertions for the getSearchLoadRate method. This PR enhances the test coverage by adding assertions for the remaining SearchStats metrics, as well as introducing tests for readerContext and scrollContext.

@drempapis drempapis requested a review from andreidan June 12, 2025 07:49
@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label v9.1.0 labels Jun 12, 2025
@drempapis drempapis added Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch :Search Foundations/Search Catch all for Search Foundations labels Jun 12, 2025
@elasticsearchmachine elasticsearchmachine removed the needs:triage Requires assignment of a team area label label Jun 12, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-foundations (Team:Search Foundations)

@drempapis drempapis changed the title Add missing metrics and methods ShardSearchStatsTests - add missing metrics and methods Jun 12, 2025
Copy link
Contributor

@pmpailis pmpailis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@andreidan andreidan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay Dimi.

LGTM, thanks for extending the test cases.

@drempapis
Copy link
Contributor Author

Thank you @andreidan and @pmpailis for the review

@drempapis drempapis merged commit bd4f5fe into elastic:main Jun 20, 2025
27 checks passed
kderusso pushed a commit to kderusso/elasticsearch that referenced this pull request Jun 23, 2025
ShardSearchStatsTests - add missing metrics and methods - complete coverage
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Jun 25, 2025
ShardSearchStatsTests - add missing metrics and methods - complete coverage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants