Skip to content

Introduce TestBlobContainerBuilder #126445

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

Conversation

DaveCTurner
Copy link
Contributor

@DaveCTurner DaveCTurner commented 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.

The mostly-optional parameters to `createBlobContainer` are getting
rather numerous in this test which makes the tests hard to read. This
commit introduces a builder to help name the provided parameters and
skip the omitted ones.
@DaveCTurner DaveCTurner added >test Issues or PRs that are addressing/adding tests :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v8.19.0 v9.1.0 labels Apr 8, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Coordination Meta label for Distributed Coordination team label Apr 8, 2025
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Contributor

@DiannaHohensee DiannaHohensee left a comment

Choose a reason for hiding this comment

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

Very nice 😎

P.S. I broke your PR build 🙃

@DaveCTurner DaveCTurner added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) auto-backport Automatically create backport pull requests when merged labels Apr 8, 2025
@elasticsearchmachine elasticsearchmachine merged commit aab40b1 into elastic:main Apr 8, 2025
17 checks passed
@DaveCTurner DaveCTurner deleted the 2025/04/08/TestBlobContainerBuilder branch April 8, 2025 15:52
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.x Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 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]>
@DaveCTurner
Copy link
Contributor Author

Backport is #126483

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :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