Skip to content

Share request breaker test helpers across ITs - #167225

Merged
reugn merged 1 commit into
elastic:mainfrom
reugn:test/request-breaker-helpers
Nov 25, 2026
Merged

reugn merged 1 commit into
elastic:mainfrom
reugn:test/request-breaker-helpers

Conversation

@reugn

@reugn reugn commented Nov 24, 2026

Copy link
Copy Markdown
Member

Several ITs carry their own copy of a method that reads the used bytes or trip count of the request breaker. This PR moves them to ESIntegTestCase as getRequestBreakerUsed and getRequestBreakerTrippedCount. Copies that went through node stats now read the breaker directly, which gives the same values. Test-only, no behavior change.

@reugn reugn added >test Issues or PRs that are addressing/adding tests Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch :Search Foundations/Search Catch all for Search Foundations v9.7.0 labels Nov 24, 2026
@elasticsearchmachine

Copy link
Copy Markdown
Collaborator

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

@reugn
reugn merged commit c611af9 into elastic:main Nov 25, 2026
42 checks passed
@reugn
reugn deleted the test/request-breaker-helpers branch November 25, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch >test Issues or PRs that are addressing/adding tests v9.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants