FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: remove third argument from call to assert.strictEqual() by ForrestWeiswolf · Pull Request #19659 · nodejs/node · GitHub

/ node Public

test: remove third argument from call to assert.strictEqual() - #19659

Closed
ForrestWeiswolf wants to merge 1 commit into
nodejs:masterfrom
ForrestWeiswolf:remove-strictEqual-message
Closed

test: remove third argument from call to assert.strictEqual()#19659
ForrestWeiswolf wants to merge 1 commit into
nodejs:masterfrom
ForrestWeiswolf:remove-strictEqual-message

Conversation

Copy link
Copy Markdown
Contributor

Remove the message argument from call to assert.strictEqual so
that the AssertionError will report the value of er.code, and add
a comment with the message.

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

Remove the message argument from call to assert.strictEqual so
that the AssertionError will report the value of er.code, and add
a comment with the message.
nodejs-github-bot added the test Issues and PRs related to the tests. label Mar 28, 2018

Trott commented Mar 28, 2018

Copy link
Copy Markdown
Member

(Could make the assert.strictEqual() all one line now if you want to.)

Trott commented Mar 28, 2018

Copy link
Copy Markdown
Member

Trott added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Mar 29, 2018

Copy link
Copy Markdown
Contributor Author

It says 'node-test-commit — tests failed'. I'm having trouble reading the details of that; is there something I need to do at this point?

Trott commented Mar 29, 2018

Copy link
Copy Markdown
Member

@ForrestWeiswolf TL/DR: Nothing to do, it's unrelated, I'll re-run the one host that failed.

Clicking through the results, there's only one failure, and it involves test/parallel/test-inspector-no-crash-ws-after-bindings.js. So it is almost certainly unrelated to this change.

Looking more closely, it is an issue we see a fair amount lately where a test process seems to crash in CI but no stack trace is provided. (@BridgeAR, another one! Is there an open issue I can link these too? I did a quick search but didn't find one.)

https://ci.nodejs.org/job/node-test-commit-plinux/16401/nodes=ppcle-ubuntu1404/console

not ok 1036 parallel/test-inspector-no-crash-ws-after-bindings
  ---
  duration_ms: 1.318
  severity: fail
  stack: |-
    [err] Debugger listening on ws://127.0.0.1:57972/e7574d26-00ef-4ec7-84b5-706de0257bd2
    [err] 
    [err] For help see https://nodejs.org/en/docs/inspector
    [err] 
    [err] Can connect now!
    [err] 
    [test] Checking upgrade is not possible
    [test] Testing /json/list
  ...

Trott commented Mar 29, 2018

Copy link
Copy Markdown
Member

Re-running test-commit-plinux as the previous failure is certainly unrelated: https://ci.nodejs.org/job/node-test-commit-plinux/16427/

trivikr pushed a commit that referenced this pull request Apr 3, 2018
Remove the message argument from call to assert.strictEqual so
that the AssertionError will report the value of er.code, and add
a comment with the message.

PR-URL: #19659
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>

trivikr commented Apr 3, 2018

Copy link
Copy Markdown
Member

Landed in 14310b5

Congratulations @ForrestWeiswolf for your first commit in Node.js core! 🎉🎉🎉

trivikr closed this Apr 3, 2018
targos pushed a commit that referenced this pull request Apr 4, 2018
Remove the message argument from call to assert.strictEqual so
that the AssertionError will report the value of er.code, and add
a comment with the message.

PR-URL: #19659
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
targos mentioned this pull request Apr 4, 2018
BethGriggs pushed a commit that referenced this pull request Dec 4, 2018
Remove the message argument from call to assert.strictEqual so
that the AssertionError will report the value of er.code, and add
a comment with the message.

PR-URL: #19659
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
BethGriggs mentioned this pull request Dec 4, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants


Back | FazBrowse Home | New Git URL