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

test: fix unit test IP parsing error in Nodejs 18.X #5247

Merged
merged 3 commits into from
Aug 5, 2023

Conversation

SEWeiTung
Copy link
Contributor

Since Nodejs v18.16.x has upgraded the version of Ada, now if we use
something like "numeric IP address", it cannot be parsed successfully.
We should use Latin-like chars instead.


  • npm test passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

"handers" should be "handlers" in some comments.

Refs: eggjs#5243.
Since Nodejs v18.16.x has upgraded the version of Ada, now if we use
something like "numeric IP address", it cannot be parsed successfully.
We should use Latin-like chars instead.
@codecov
Copy link

codecov bot commented Aug 5, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (2aefdc7) 99.86% compared to head (26b3dab) 99.86%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5247   +/-   ##
=======================================
  Coverage   99.86%   99.86%           
=======================================
  Files          36       36           
  Lines        3601     3601           
  Branches      516      516           
=======================================
  Hits         3596     3596           
  Misses          5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fengmk2 fengmk2 merged commit 3d5f1dc into eggjs:master Aug 5, 2023
17 checks passed
@SEWeiTung
Copy link
Contributor Author

This is a fix for non-number IP address check, not sure if it's a bug of Nodejs or something else?

Ref: nodejs/node#49024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants