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 tests for node v17 #4314

Merged
merged 3 commits into from
Nov 13, 2021
Merged

Fix tests for node v17 #4314

merged 3 commits into from
Nov 13, 2021

Conversation

devinivy
Copy link
Member

@devinivy devinivy commented Nov 9, 2021

While we will not officially support node v17 since it is not an LTS version of node, in practice we would like to test hapi against it and ensure everything will be in good shape when node v18 eventually arrives.

The hapi test suite was affected by the change in DNS ordering in nodejs/node#39987, since default hapi servers would need to be connected to using ::1 over ipv6 rather than 127.0.0.1 over ipv4. In the next major version of hapi we should consider how we might make our address default (currently 0.0.0.0) more ipv6-aware.

We are also currently affected by a bug nodejs/node#40528 slated to be resolved in node v17.1.0. The one skip() in the test suite relates to this: we skip the test for now to avoid a hang caused by the bug.

Note that the test suite is going to be all red right now due to nodejs/node#40528. Once that is resolved I will re-run the tests and turn this into a non-draft PR if everything is passing.

@devinivy devinivy added the test Test or coverage label Nov 9, 2021
test/transmit.js Outdated Show resolved Hide resolved
@devinivy devinivy marked this pull request as ready for review November 9, 2021 19:34
Copy link
Member

@Nargonath Nargonath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the work @devinivy.

@devinivy devinivy added this to the 20.2.2 milestone Nov 13, 2021
@devinivy devinivy self-assigned this Nov 13, 2021
@devinivy devinivy merged commit e4ef336 into master Nov 13, 2021
@devinivy devinivy deleted the node-17 branch November 13, 2021 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Test or coverage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants