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: add support for windows hosts #589

Merged
merged 8 commits into from
Aug 19, 2024
Merged

fix: add support for windows hosts #589

merged 8 commits into from
Aug 19, 2024

Conversation

wkillerud
Copy link
Contributor

@wkillerud
Copy link
Contributor Author

Had hoped the refactor of the tests would fix the ECONNRESET on Windows, but alas. I'll put a pin in this until I'm on my Windows rig.

@wkillerud wkillerud self-assigned this Aug 16, 2024
@wkillerud wkillerud linked an issue Aug 16, 2024 that may be closed by this pull request
@wkillerud
Copy link
Contributor Author

wkillerud commented Aug 19, 2024

The error only happens on Node 18 on Windows.

wkillerud and others added 7 commits August 19, 2024 10:10
The sink is what we need to reset most of the times.
This is an attempt to make the test suite faster and more stable
on macOS.
The tests all spin up their own service instance, this should be fine.
We're the only ones using it
For an unknown reason the upload tests fail on Node 18 on Windows
with an ECONNRESET from node-fetch. Debugging hasn't revealed any
probable cause.

- The fixture readable stream works as expected on Node 18 on Windows
- Other requests to the server work as expected

Refactoring to use native fetch means we lose the option to override
the origin hostname, which we use to test server validation.
@wkillerud wkillerud merged commit 706541b into main Aug 19, 2024
5 checks passed
@wkillerud wkillerud deleted the win branch August 19, 2024 08:15
Copy link

🎉 This issue has been resolved in version 2.3.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Test failures on Windows
1 participant