Skip to content

test: remove usage of process.binding() - #26304

Closed
addaleax wants to merge 2 commits into
nodejs:masterfrom
addaleax:no-process-binding-tests
Closed

test: remove usage of process.binding()#26304
addaleax wants to merge 2 commits into
nodejs:masterfrom
addaleax:no-process-binding-tests

Conversation

@addaleax

Copy link
Copy Markdown
Member

This paves the way for adding --pending-deprecation support for process.binding(), see e.g. addaleax/node@8e6577d (which could land after this, but would likely be semver-major).

Prefer internalBinding or other equivalents over process.binding()
(except in tests checking process.binding() itself).

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@addaleax sadly an error occured when I tried to trigger a build :(

@nodejs-github-botnodejs-github-bot added async_hooks Issues and PRs related to the async hooks subsystem. test Issues and PRs related to the tests. labels Feb 25, 2019

@TrottTrott 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.

RS-ish LGTM

@BridgeARBridgeAR 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. AFAIK there is a conflicting PR open for a while.

@BridgeAR

Copy link
Copy Markdown
Member

Refs: #24952

@addaleax

Copy link
Copy Markdown
MemberAuthor

@BridgeAR Yeah, thanks. I’ll try to land that one first.

@addaleaxaddaleax added blocked PRs that are blocked by other issues or PRs. and removed async_hooks Issues and PRs related to the async hooks subsystem. labels Feb 26, 2019
@addaleaxaddaleax removed the blocked PRs that are blocked by other issues or PRs. label Mar 7, 2019
@addaleax
addaleaxforce-pushed the no-process-binding-tests branch from c706a3b to 9a9b038CompareMarch 7, 2019 08:29
Prefer `internalBinding` or other equivalents over `process.binding()`
(except in tests checking `process.binding()` itself).
@addaleax
addaleaxforce-pushed the no-process-binding-tests branch from 9a9b038 to 8c99173CompareMarch 7, 2019 08:31
@addaleax

Copy link
Copy Markdown
MemberAuthor

@addaleaxaddaleax added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 7, 2019
@addaleax
addaleaxforce-pushed the no-process-binding-tests branch from c12a713 to 4e3990bCompareMarch 7, 2019 08:43
@addaleax

Copy link
Copy Markdown
MemberAuthor

Fixed one more error that just (?) showed up, CI: https://ci.nodejs.org/job/node-test-pull-request/21297/

@addaleax

Copy link
Copy Markdown
MemberAuthor

@addaleax

Copy link
Copy Markdown
MemberAuthor

Landed in aec3447

@addaleaxaddaleax closed this Mar 7, 2019
@addaleax
addaleax deleted the no-process-binding-tests branch March 7, 2019 16:50
pullBot pushed a commit to SimenB/node that referenced this pull request Mar 7, 2019
Prefer `internalBinding` or other equivalents over `process.binding()`
(except in tests checking `process.binding()` itself).
PR-URL: nodejs#26304
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
BridgeAR pushed a commit to BridgeAR/node that referenced this pull request Mar 12, 2019
Prefer `internalBinding` or other equivalents over `process.binding()`
(except in tests checking `process.binding()` itself).
PR-URL: nodejs#26304
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
BridgeAR pushed a commit that referenced this pull request Mar 14, 2019
Prefer `internalBinding` or other equivalents over `process.binding()`
(except in tests checking `process.binding()` itself).
PR-URL: #26304
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

13 participants

@addaleax@nodejs-github-bot@BridgeAR@jasnell@thefourtheye@Trott@cjihrig@JungMinu@devsnek@alejunco@Puzzle9900@asarmiento13315@zydev-gh