refactor(wash-cli): move more wash invocations into TestWashInstance #1050
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Feature or Problem
TestWashInstance
is a test utility struct that encapsulates (and tracks) child processes spawned bywash
so that they can be cleaned up upondrop()
, and information about spawned hosts can be retrieved.Some invocations of
wash
itself (normally from tests that ensure functionality works have been moved intoTestWashInstance
to make them easier to call -- with the current built version ofwash
(i.e. the cargo-provided ENV variableCARGO_BIN_EXE_wash
).This commit adds more invocations (
wash start provider
,wash stop actor
,wash stop host
) into theTestWashInstance
struct used from tests, shortening the code required for individual tests.Related Issues
Release Information
Consumer Impact
Testing
Unit Test(s)
Acceptance or Integration
All integration tests should be using the new code (and still passing)
Manual Verification
Verified manually