Skip to content
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

feat: Restore output consumer support #959

Merged
merged 5 commits into from
Jul 31, 2023

Conversation

jacobjmarks
Copy link
Contributor

@jacobjmarks jacobjmarks commented Jul 28, 2023

What does this PR do?

Re-enables support for registering a provided IOutputConsumer for streaming stdout/stderr from the container.

Note that the IWaitForContainerOS.UntilMessageIsLogged(Stream, string) method is still marked obsolete as utilising an output consumer for the purposes of wait strategies remains redundant; favouring the improvements made in #793.

Why is it important?

This is rather useful to enable developers to stream their container output to a location of their choice. It's useful for debugging, monitoring, etc.

Related issues

@netlify
Copy link

netlify bot commented Jul 28, 2023

Deploy Preview for testcontainers-dotnet ready!

Name Link
🔨 Latest commit 9d44724
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-dotnet/deploys/64c6d44beb20f50008366f54
😎 Deploy Preview https://deploy-preview-959--testcontainers-dotnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@HofmeisterAn HofmeisterAn added the enhancement New feature or request label Jul 31, 2023
@HofmeisterAn HofmeisterAn merged commit 298aad4 into testcontainers:develop Jul 31, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: Reimplement support for log streaming via the IOutputConsumer
2 participants