-
Notifications
You must be signed in to change notification settings - Fork 237
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
Test failures on macOS w/ node v17 #393
Comments
joeyparrish
added a commit
to joeyparrish/needle
that referenced
this issue
Mar 21, 2022
- Fix decoder test failures by importing the necessary data and running a local server, rather than relying on external sites - Tests depending on /proc are now only run on Linux - Tests that only set expectations on the behavior of the node http server (rather than needle itself) have been deleted Closes tomas#393
This was referenced Mar 21, 2022
I should have mentioned, these failures were all on node v17. |
joeyparrish
changed the title
Test failures on macOS
Test failures on macOS w/ node v17
Mar 22, 2022
joeyparrish
added a commit
to joeyparrish/needle
that referenced
this issue
Mar 22, 2022
- Fix decoder test failures by importing the necessary data and running a local server, rather than relying on external sites - Tests depending on /proc are now only run on Linux - Tests that only set expectations on the behavior of the node http server (rather than needle itself) have been deleted Closes tomas#393
joeyparrish
added a commit
to joeyparrish/needle
that referenced
this issue
Mar 22, 2022
- Fix decoder test failures by importing the necessary data and running a local server, rather than relying on external sites - Tests depending on /proc are now only run on Linux - Tests that only set expectations on the behavior of the node http server (rather than needle itself) have been deleted Closes tomas#393
joeyparrish
added a commit
to joeyparrish/needle
that referenced
this issue
Mar 22, 2022
- Fix decoder test failures by importing the necessary data and running a local server, rather than relying on external sites - Tests depending on /proc are now only run on Linux - Tests that only set expectations on the behavior of the node http server (rather than needle itself) have been deleted Closes tomas#393
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get the following test failures on macOS.
These two because of a bad URL, and should fail on all platforms. They rely on http://www.nina.jp/server/slackware/webapp/tomcat_charset.html , but this no longer exists. I believe this should be replaced by a local server.
These fail if run on macOS because they only exclude Windows, and /proc/self/fd isn't available on Mac, either. I believe that these should only run on Linux.
These tests seem to be testing some behavior of node's HTTP server, not the client. The client doesn't control if the server returns 400 (expected on node >= 10), or ECONNRESET (expected on other versions), and therefore fails if the server behaves differently than expected (returns 200 for me). Since the only expectations are set on a component outside this project, I believe this is just a bad test that should be deleted.
The text was updated successfully, but these errors were encountered: