-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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: change deprecated method to recommended #13649
Conversation
In non-buffer tests, change usage of the Buffer constructor to one of the recommended alternatives.
LGTM if CI is ok: https://ci.nodejs.org/job/node-test-pull-request/8624/ |
ohh hello there:
https://ci.nodejs.org/job/node-test-commit-freebsd/9699/nodes=freebsd11-x64/tapResults/ |
Rerun arm-fanned (infra fixed): https://ci.nodejs.org/job/node-test-commit-arm-fanned/9387/ |
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.
LGTM so long as we still have good test coverage on new Buffer()
and Buffer()
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.
ARM is still having some unrelated problems.
In non-buffer tests, change usage of the Buffer constructor to one of the recommended alternatives. PR-URL: nodejs#13649 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Brian White <[email protected]>
Landed in 14f5a9b |
In non-buffer tests, change usage of the Buffer constructor to one of the recommended alternatives. PR-URL: #13649 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Brian White <[email protected]>
In non-buffer tests, change usage of the Buffer constructor to one of the recommended alternatives. PR-URL: #13649 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Brian White <[email protected]>
This does not land cleanly in LTS. Please feel free to manually backport. Please also feel free to replace the backport request label with do-not-land if it shouldn't land |
In non-buffer tests, change usage of the Buffer constructor to one of the recommended alternatives. PR-URL: nodejs#13649 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Brian White <[email protected]>
6.x backport in #14339 |
In non-buffer tests, change usage of the Buffer constructor to one of the recommended alternatives. Backport-PR-URL: #14339 PR-URL: #13649 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Brian White <[email protected]>
In non-buffer tests, change usage of the Buffer constructor to one of
the recommended alternatives.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test buffer stream tls zlib