test: fix too optimistic guess in setproctitle#12792
Closed
vsemozhetbyt wants to merge 1 commit intonodejs:masterfrom
vsemozhetbyt:test-fs-chmod.js
Closed
test: fix too optimistic guess in setproctitle#12792vsemozhetbyt wants to merge 1 commit intonodejs:masterfrom vsemozhetbyt:test-fs-chmod.js
vsemozhetbyt wants to merge 1 commit intonodejs:masterfrom
vsemozhetbyt:test-fs-chmod.js
Conversation
Contributor
Author
lpinca
approved these changes
May 2, 2017
cjihrig
approved these changes
May 2, 2017
Contributor
|
|
Contributor
Author
|
@Fishrock123 Actually, the |
Contributor
|
Ah sorry, my bad. |
Member
|
That's confusing. Perhaps it's worth changing the message? |
jasnell
approved these changes
May 2, 2017
Contributor
Author
|
@jasnell Do you mean commit message? What would you advise? |
Member
|
No, the message on the assert error |
Contributor
Author
|
What message would you add? |
Member
|
That's the default message from |
Contributor
Author
|
Landed in f971916 |
vsemozhetbyt
added a commit
that referenced
this pull request
May 4, 2017
PR-URL: #12792 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
anchnk
pushed a commit
to anchnk/node
that referenced
this pull request
May 6, 2017
PR-URL: nodejs#12792 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
3 tasks
Member
|
Should land with #13072 |
3 tasks
DavidCai1111
pushed a commit
to DavidCai1111/node
that referenced
this pull request
Jun 19, 2017
PR-URL: nodejs#12792 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
3 tasks
MylesBorins
pushed a commit
that referenced
this pull request
Jul 17, 2017
PR-URL: #12792 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Merged
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
test, process
test/parallel/test-setproctitle.jsassumes thatprocess.titlecan't betestbefore the test changes it. However, if this test is launched as a child several times,process.titleis saved in the parent on Windows and is shared with childs.I've found this issue running tests with some script with different options. A reduced example (edit the path to reproduce):
Before this PR:
After this PR:
It seems this better be fixed to prevent such issues with various test approaches to test base.