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: Add UsingHttpMessageHandler(HttpMessageHandler) to HttpWaitStrategy #910

Merged
merged 5 commits into from
Jun 5, 2023

Conversation

mkstephenson
Copy link
Contributor

What does this PR do?

This PR adds the ability to pass a custom HttpClientHandler to the HttpWaitStrategy.

Why is it important?

One reason for passing a custom HttpClientHandler would be the ability to tell the health checks to ignore or deviate from local proxy settings (often useful if tests are being executed on a build agent which sits behind a proxy, where the settings for that proxy get in the way of communicating with the container).

@netlify
Copy link

netlify bot commented Jun 1, 2023

Deploy Preview for testcontainers-dotnet ready!

Name Link
🔨 Latest commit 10fc5c0
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-dotnet/deploys/6479f3df63826a0008427bce
😎 Deploy Preview https://deploy-preview-910--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 settings.

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.

Thank you for your pull request and contribution. The pull request looks good overall, I have two minor suggestions. WDYT?

mkstephenson and others added 2 commits June 2, 2023 15:40
Co-authored-by: Andre Hofmeister <9199345+HofmeisterAn@users.noreply.github.com>
@HofmeisterAn HofmeisterAn added the enhancement New feature or request label Jun 5, 2023
@HofmeisterAn HofmeisterAn changed the title Add custom HttpClientHandler possibility for HttpWaitStrategy feat: Add UsingHttpMessageHandler(HttpMessageHandler) to HttpWaitStrategy Jun 5, 2023
@HofmeisterAn HofmeisterAn merged commit 4a9b403 into testcontainers:develop Jun 5, 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.

None yet

2 participants