Skip to content

Support maxConnections override in AbstractBlobContainerRetriesTestCase tests #126435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

DiannaHohensee
Copy link
Contributor

@DiannaHohensee DiannaHohensee commented Apr 7, 2025

Committing some boilerplate changes to support a maxConnections http client test -- see feature branch commit (#testMaxConnections()).

@DiannaHohensee DiannaHohensee added >test Issues or PRs that are addressing/adding tests :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed Coordination Meta label for Distributed Coordination team labels Apr 7, 2025
@DiannaHohensee DiannaHohensee self-assigned this Apr 7, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination)

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

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

LGTM. This method's parameters are getting a little out of hand :)

@DiannaHohensee DiannaHohensee merged commit 4b2867a into elastic:main Apr 8, 2025
16 of 17 checks passed
@DaveCTurner
Copy link
Contributor

I'm going to backport this to 8.x along with #126445

DaveCTurner pushed a commit to DaveCTurner/elasticsearch that referenced this pull request Apr 8, 2025
The mostly-optional parameters to `createBlobContainer` are getting
rather numerous in this test harness which makes the tests hard to read.
This commit introduces a builder to help name the provided parameters
and skip the omitted ones. It also adds a `maxConnections` override.

Backport of elastic#126445 and elastic#126435 to `8.x`

Co-authored-by: Dianna Hohensee <[email protected]>
elasticsearchmachine pushed a commit that referenced this pull request Apr 8, 2025
The mostly-optional parameters to `createBlobContainer` are getting
rather numerous in this test harness which makes the tests hard to read.
This commit introduces a builder to help name the provided parameters
and skip the omitted ones. It also adds a `maxConnections` override.

Backport of #126445 and #126435 to `8.x`

Co-authored-by: Dianna Hohensee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed Coordination Meta label for Distributed Coordination team >test Issues or PRs that are addressing/adding tests v8.19.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants