Skip to content

Conversation

jennazee
Copy link
Contributor

@jennazee jennazee commented Oct 6, 2017

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

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Oct 6, 2017
@mscdex mscdex added the cluster Issues and PRs related to the cluster subsystem. label Oct 6, 2017
@Trott Trott added the code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. label Oct 6, 2017
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The line length exceeds 80 characters here. This has to be fixed but it can also be done while landing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but will definitely need line wrapping to pass linting.

@jennazee jennazee force-pushed the test-cluster-server-messages branch from d0d8c60 to 4fd69e2 Compare October 15, 2017 16:02
Copy link
Member

@gireeshpunathil gireeshpunathil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assert.strictEqual(code, 0, `worker2 did not exit normally. exited with\
code ${code}`);
assert.strictEqual(signal, null, `worker2 did not exit normally. exited\
with signal ${signal}`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The basic change is good but we try to avoid using multi-line template literals in core. This can be improved by...

      assert.strictEqual(code, 0, 
                         'worker2 did not exit normally.' +
                         `exited with code ${code}`);
      assert.strictEqual(signal, null,
                         'worker2 did not exit normally. ' +
                         `exited with signal ${signal}`);

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That can be fixed on landing tho :-)

jasnell pushed a commit that referenced this pull request Oct 16, 2017
PR-URL: #15945
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]
@jasnell
Copy link
Member

jasnell commented Oct 16, 2017

Landed in da7d92e.
Thank you!

@jasnell jasnell closed this Oct 16, 2017
targos pushed a commit that referenced this pull request Oct 18, 2017
PR-URL: #15945
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]
addaleax pushed a commit to ayojs/ayo that referenced this pull request Oct 18, 2017
PR-URL: nodejs/node#15945
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]
MylesBorins pushed a commit that referenced this pull request Nov 16, 2017
PR-URL: #15945
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]
@MylesBorins MylesBorins mentioned this pull request Nov 21, 2017
MylesBorins pushed a commit that referenced this pull request Nov 21, 2017
PR-URL: #15945
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]
MylesBorins pushed a commit that referenced this pull request Nov 28, 2017
PR-URL: #15945
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cluster Issues and PRs related to the cluster subsystem. code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants