-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Node 20 fixes #4473
Node 20 fixes #4473
Conversation
Wreck.post() fails with "socket hang up"
This includes a fix to immediately destroy incoming requests when in the stopping phase. Node 20+ implicitly does this, so a coverage exception is needed.
Hmm, strange that the Looking at the failing tests, it seems that The "Request _postCycle() skips onPreResponse when validation terminates request" test does not directly use I don't have a macOS 12 machine to test on, so I'm not really able to debug further. Even stranger, the tests passes on node 18, but fails again on node 20. |
Looks like we have some flakiness at play here. I restarted the 3 failed macos jobs and now macos node@14 passes whereas it didn't before. This might explain why it works on your machine @kanongil but not in the CI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM, I had some questions for my own curiosity.
Ah, it seems that it only fails on runners using macOS 12.6.9, while runners on macOS 12.7 works. I guess not all I have been doing some experiments, and the tests seem to pass when using the |
Thanks for the investigation on the CI. We probably shouldn't block this PR for this and can handle it in another PR. |
This fixes the test suite for node v18, v20 and v21 on my mac.