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: ensure that test priority is not higher than current priority #55739

Merged
merged 3 commits into from
Nov 8, 2024

Conversation

LiviaMedeiros
Copy link
Contributor

This test fails if parent's (e.g. sshd) niceness is already lower than 10 and we're not root.

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Nov 6, 2024
@LiviaMedeiros LiviaMedeiros added os Issues and PRs related to the os subsystem. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Nov 6, 2024
@nodejs-github-bot

This comment was marked as outdated.

Copy link

codecov bot commented Nov 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.40%. Comparing base (1aa7135) to head (88c836c).
Report is 14 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #55739   +/-   ##
=======================================
  Coverage   88.40%   88.40%           
=======================================
  Files         654      654           
  Lines      187747   187752    +5     
  Branches    36127    36121    -6     
=======================================
+ Hits       165972   165981    +9     
+ Misses      15009    15005    -4     
  Partials     6766     6766           

see 31 files with indirect coverage changes

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link
Collaborator

@aduh95 aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Nov 8, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 8, 2024
@nodejs-github-bot nodejs-github-bot merged commit a094a81 into nodejs:main Nov 8, 2024
59 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in a094a81

@aduh95
Copy link
Contributor

aduh95 commented Nov 14, 2024

Someone is reporting seeing uv_os_setpriority returned EACCES error in NixOS/nixpkgs#355919 (comment)

@LiviaMedeiros
Copy link
Contributor Author

Interesting. I guess it would be reasonable to skip NixOS together with isIBMi systems if they handle priorities differently.
If we can't differentiate NixOS, i suggest removal of this part of test, since test-os-process-priority.js already covers it with catching and ignoring EACCES.

aduh95 pushed a commit that referenced this pull request Nov 16, 2024
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 pending requests for changes, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. needs-ci PRs that need a full CI run. os Issues and PRs related to the os subsystem. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants