Skip to content

test: change deprecated method to recommended - #13649

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:set-a-good-example
Closed

test: change deprecated method to recommended#13649
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:set-a-good-example

Conversation

@Trott

Copy link
Copy Markdown
Member

In non-buffer tests, change usage of the Buffer constructor to one of
the recommended alternatives.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test buffer stream tls zlib

In non-buffer tests, change usage of the Buffer constructor to one of
the recommended alternatives.
@TrottTrott added buffer Issues and PRs related to the buffer subsystem. stream Issues and PRs related to the stream subsystem. test Issues and PRs related to the tests. tls Issues and PRs related to the tls subsystem. zlib Issues and PRs related to the zlib subsystem. labels Jun 13, 2017
@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Jun 13, 2017
@mscdex

mscdex commented Jun 13, 2017

Copy link
Copy Markdown
Contributor

@refack

Copy link
Copy Markdown
Contributor

ohh hello there:

311	parallel/test-dgram-implicit-bind duration_ms	0.442
severity	crashed
stack	oh no!
exit code: CRASHED (Signal: 11)

https://ci.nodejs.org/job/node-test-commit-freebsd/9699/nodes=freebsd11-x64/tapResults/
Ref: #13654

@refack

Copy link
Copy Markdown
Contributor

@jasnelljasnell left a comment

Copy link
Copy Markdown
Member

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()

@tniessentniessen left a comment

Copy link
Copy Markdown
Member

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.

Trott added a commit to Trott/io.js that referenced this pull request Jun 15, 2017
In non-buffer tests, change usage of the Buffer constructor to one of
the recommended alternatives.
PR-URL: nodejs#13649
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Brian White <mscdex@mscdex.net>
@Trott

Copy link
Copy Markdown
MemberAuthor

Landed in 14f5a9b

@TrottTrott closed this Jun 15, 2017
addaleax pushed a commit that referenced this pull request Jun 17, 2017
In non-buffer tests, change usage of the Buffer constructor to one of
the recommended alternatives.
PR-URL: #13649
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Brian White <mscdex@mscdex.net>
@addaleaxaddaleax mentioned this pull request Jun 17, 2017
addaleax pushed a commit that referenced this pull request Jun 21, 2017
In non-buffer tests, change usage of the Buffer constructor to one of
the recommended alternatives.
PR-URL: #13649
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Brian White <mscdex@mscdex.net>
@addaleaxaddaleax mentioned this pull request Jun 21, 2017
@MylesBorins

Copy link
Copy Markdown
Contributor

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

Trott added a commit to Trott/io.js that referenced this pull request Jul 18, 2017
In non-buffer tests, change usage of the Buffer constructor to one of
the recommended alternatives.
PR-URL: nodejs#13649
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Brian White <mscdex@mscdex.net>
@Trott

Copy link
Copy Markdown
MemberAuthor

6.x backport in #14339

MylesBorins pushed a commit that referenced this pull request Jul 18, 2017
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 <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Brian White <mscdex@mscdex.net>
@MylesBorinsMylesBorins mentioned this pull request Jul 18, 2017
@Trott
Trott deleted the set-a-good-example branch January 13, 2022 22:45
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bufferIssues and PRs related to the buffer subsystem.streamIssues and PRs related to the stream subsystem.testIssues and PRs related to the tests.tlsIssues and PRs related to the tls subsystem.zlibIssues and PRs related to the zlib subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@Trott@mscdex@refack@MylesBorins@jasnell@lpinca@cjihrig@tniessen@nodejs-github-bot