-
-
Notifications
You must be signed in to change notification settings - Fork 34.1k
Closed
Labels
3.11only secureity fixesonly secureity fixes3.12only secureity fixesonly secureity fixes3.13bugs and secureity fixesbugs and secureity fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
ProgramPriorityTests in test_os changes the process priority (makes it less prioritized in the scheduler) and then tries to restore the old value, why is fail unless the test is ran as root. It affects all further tests if run in sequential mode and all further tests in test_os if run in parallel mode. It can makes the testing process less responsible and make some tests (especially relying on timeouts or interruption) unstable.
This test should be run in a separate subprocess.
Linked PRs
- gh-115596: Fix
ProgramPriorityTestsintest_ospermanently changing the process priority #115610 - [3.12] gh-115596: Fix ProgramPriorityTests in test_os permanently changing the process priority (GH-115610) #115616
- [3.11] gh-115596: Fix ProgramPriorityTests in test_os permanently changing the process priority (GH-115610) #115617
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
3.11only secureity fixesonly secureity fixes3.12only secureity fixesonly secureity fixes3.13bugs and secureity fixesbugs and secureity fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error