Uh oh!
There was an error while loading. Please reload this page.
test: add os setPriority, getPriority test coverage - #38771
Conversation
RaisinTen
left a comment
There was a problem hiding this comment.
Isn't this already covered in https://github.com/nodejs/node/blob/HEAD/test/parallel/test-os-process-priority.js?
RaisinTen
commented
May 22, 2021
The only line in the mentioned functions that has no coverage: https://coverage.nodejs.org/coverage-7afa7b9ab34b4f7c/lib/os.js.html#L322 |
waelsy123
commented
May 23, 2021
@RaisinTen indeed it has already test in another dedicated file. however I wanted to have at least one unit test within os-test |
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
commented
May 25, 2021
Co-authored-by: Darshan Sen <raisinten@gmail.com>
56d8ca3 to
80c621aComparenodejs-github-bot
commented
Sep 20, 2023
There was a problem hiding this comment.
https://github.com/nodejs/node/blob/HEAD/test/parallel/test-os-process-priority.js handles a number of special cases for the os.set/getPriority APIs. If the newly added test is not a source of more flakiness, I'm okay with adding this. Otherwise, I think that the other test is more robust and it should be okay to keep that one and not add more tests that are repetitions of existing tests.
Edit: No related flakes, so this should be fine
nodejs-github-bot
commented
Sep 21, 2023
nodejs-github-bot
commented
Sep 21, 2023
nodejs-github-bot
commented
Sep 26, 2023
nodejs-github-bot
commented
Sep 27, 2023
Landed in c19b2a7 |
waelsy123
commented
Sep 27, 2023
glad to get that merged thanks! |
PR-URL: #38771 Reviewed-By: Darshan Sen <raisinten@gmail.com>
PR-URL: #38771 Reviewed-By: Darshan Sen <raisinten@gmail.com>
PR-URL: #38771 Reviewed-By: Darshan Sen <raisinten@gmail.com>
PR-URL: nodejs#38771 Reviewed-By: Darshan Sen <raisinten@gmail.com>
PR-URL: nodejs/node#38771 Reviewed-By: Darshan Sen <raisinten@gmail.com>
PR-URL: nodejs/node#38771 Reviewed-By: Darshan Sen <raisinten@gmail.com>
adding more
os.setPriority&os.getPrioritytest coverage