Skip to content
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: remove erroneous assert message from test #14918

Closed

Conversation

BethGriggs
Copy link
Member

Removes the incorrect 'exit successfully' message from test when the
exit code is 0.

We expect the exit code to be 0, so when it fails it should say 'exit unsuccessful'. Adding a message will hide the exit code from the error, so IMO we should remove the message.

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

test

Removes the incorrect 'exit successfully' message from test when the
exit code is 0.
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Aug 18, 2017
@vsemozhetbyt
Copy link
Contributor

@mscdex mscdex added the child_process Issues and PRs related to the child_process subsystem. label Aug 18, 2017
Copy link
Member

@Trott Trott left a comment

Choose a reason for hiding this comment

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

LGTM. There are a lot of places in our tests where the assertion message is the opposite of what it seems like it should be. The messages rarely improve the output anyway.

@Trott
Copy link
Member

Trott commented Aug 18, 2017

CI failures look like things that need legitimate investigation, but are unrelated to this change.

@tniessen
Copy link
Member

Landed in b9d63ab, thank you!

@tniessen tniessen closed this Aug 20, 2017
tniessen pushed a commit that referenced this pull request Aug 20, 2017
Removes the incorrect 'exit successfully' message from test when the
exit code is 0.

PR-URL: #14918
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
MylesBorins pushed a commit that referenced this pull request Sep 10, 2017
Removes the incorrect 'exit successfully' message from test when the
exit code is 0.

PR-URL: #14918
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Sep 10, 2017
MylesBorins pushed a commit that referenced this pull request Sep 12, 2017
Removes the incorrect 'exit successfully' message from test when the
exit code is 0.

PR-URL: #14918
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
@BethGriggs BethGriggs deleted the test-process-close-spawn-msg branch February 21, 2018 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
child_process Issues and PRs related to the child_process subsystem. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.