Skip to content

Add setters for individual parts of TestHosts in HarnessConfig#1160

Merged
michaeldjeffrey merged 1 commit intomainfrom
mj/test-harness-part-setters
Mar 18, 2026
Merged

Add setters for individual parts of TestHosts in HarnessConfig#1160
michaeldjeffrey merged 1 commit intomainfrom
mj/test-harness-part-setters

Conversation

@michaeldjeffrey
Copy link
Contributor

This allows for configurations like

let config = HarnessConfig::builder()
    .s3_host_local_host(“rustfs”)
    .build()?

Without needing to copy all the env getters or export an env var in your environment for running tests.

@michaeldjeffrey michaeldjeffrey requested a review from macpie March 18, 2026 20:11
This allows for configurations like

```rs
let config = HarnessConfig::builder()
    .s3_host_local_host(“rustfs”)
    .build()?
```

Without needing to copy all the env getters or export an env var in your
environment for running tests.
@michaeldjeffrey michaeldjeffrey force-pushed the mj/test-harness-part-setters branch from 40da272 to 56a622d Compare March 18, 2026 22:38
@michaeldjeffrey michaeldjeffrey merged commit e15617a into main Mar 18, 2026
31 checks passed
@michaeldjeffrey michaeldjeffrey deleted the mj/test-harness-part-setters branch March 18, 2026 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants