-
-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(exec): updates the
Multiplexed
opt to combine stdout and stderr (…
…#2452) * fix(exec): updates the `Multiplexed` opt to combine stdout and stderr Updates the `Multiplexed` option to combine the output of stdout and stderr, changing the previous behavior where stderr was preferred over stdout. Now, both streams are properly combined into a single stream. Additionally, this commit enhance and adjust existing test cases for the `Multiplexed` option: * Modifies `TestExecWithMultiplexedResponse` to ensure that stdout and stderr are on the same stream, testing the new behavior of the `Multiplexed` option. * Refactors `TestExecWithNonMultiplexedResponse` to use `stdcopy.StdCopy` for ensuring that `io.Reader` contains a separated stdout and stderr. * chore: no need to pass the provider type --------- Co-authored-by: Manuel de la Peña <[email protected]>
- Loading branch information
1 parent
db61369
commit 88622f0
Showing
2 changed files
with
18 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters