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: don't assume docker host is a url #709

Merged
merged 4 commits into from
Jul 30, 2024

Conversation

blaenk
Copy link
Contributor

@blaenk blaenk commented Jul 28, 2024

This is one way to fix #708

Although we still parse into a Url, we don't pass that value on to clients, since Url may mutate the input, which in the case of #708, breaks Windows NamedPipeConnector, which is the default way of connecting to the Docker daemon.

I also disabled the SCTP tests on Windows since it doesn't seem there's support for that on Windows.

Copy link

netlify bot commented Jul 28, 2024

Deploy Preview for testcontainers-rust ready!

Name Link
🔨 Latest commit 58a8ce1
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-rust/deploys/66a6b24e30e8fa00087e4eae
😎 Deploy Preview https://deploy-preview-709--testcontainers-rust.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.

@DDtKey
Copy link
Collaborator

DDtKey commented Jul 28, 2024

Thank you for the contribution and well-described issue! 🚀

I will add windows runner into test-suite (matrix in CI) separately, preferably before merging this

@DDtKey
Copy link
Collaborator

DDtKey commented Jul 28, 2024

Could you apply rustfmt and check falling tests?

Overall, looks like LGTM 🙏

@blaenk
Copy link
Contributor Author

blaenk commented Jul 28, 2024

Done! Thanks for reviewing.

@DDtKey DDtKey merged commit 2f05648 into testcontainers:main Jul 30, 2024
12 checks passed
@github-actions github-actions bot mentioned this pull request Jul 30, 2024
DDtKey pushed a commit that referenced this pull request Jul 30, 2024
## 🤖 New release
* `testcontainers`: 0.20.1 -> 0.21.0

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

## [0.21.0] - 2024-07-30

### Details
#### Bug Fixes
- Don't assume docker host is a url
([#709](#709))

#### Miscellaneous Tasks
- Bump the bollard group across 1 directory with 2 updates
([#710](#710))

#### Refactor
- [❗] Put `reqwest` behind `http_wait` feature
([#705](#705))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

Closes #711

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unconditional Url parsing breaks NamedPipeConnector on Windows
2 participants