Skip to content

Conversation

@DaveCTurner
Copy link
Contributor

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]

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]>
@DaveCTurner DaveCTurner added >test Issues or PRs that are addressing/adding tests :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v8.19.0 labels Apr 8, 2025
@elasticsearchmachine elasticsearchmachine merged commit 446dc03 into elastic:8.x Apr 8, 2025
15 checks passed
@DaveCTurner DaveCTurner deleted the 2025/04/08/backport-126445-TestBlobContainerBuilder-8x branch April 8, 2025 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >test Issues or PRs that are addressing/adding tests v8.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants