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

fix: Prevent invalid negative timestamps getting container logs #1038

Merged
merged 2 commits into from
Nov 1, 2023

Conversation

mausch
Copy link
Contributor

@mausch mausch commented Oct 31, 2023

What does this PR do?

Fixes #1035

The other way to go about this would be fixing the arguments at callsites and throwing in this GetLogsAsync() method if the value is negative... though it feels that should be the job of Docker.DotNet.

Why is it important?

explained in #1035

Related issues

Copy link

netlify bot commented Oct 31, 2023

Deploy Preview for testcontainers-dotnet ready!

Name Link
🔨 Latest commit ba76abb
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-dotnet/deploys/6541f88bef91ec00085b533e
😎 Deploy Preview https://deploy-preview-1038--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 bug Something isn't working label Nov 1, 2023
@HofmeisterAn HofmeisterAn changed the title fix: Prevent invalid negative timestamps getting container logs (#1035) fix: Prevent invalid negative timestamps getting container logs Nov 1, 2023
Copy link
Collaborator

@HofmeisterAn HofmeisterAn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing this issue!

@HofmeisterAn HofmeisterAn merged commit 5d5cb2d into testcontainers:develop Nov 1, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Container hangs waiting for startup due to logs
2 participants