[Isolated Process] Fix GeckoViewTest Priority Tests for Isolated Processes
Categories
(GeckoView :: General, defect, P3)
Tracking
(firefox140 fixed)
| Tracking | Status | |
|---|---|---|
| firefox140 | --- | fixed |
People
(Reporter: olivia, Assigned: olivia)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid] [geckoview] )
Attachments
(1 file)
When running in Isolated Process mode, GeckoViewTest has failing tests at:
- setPriorityHint
- processPriorityTest
- setTabActiveKeepsTabAtHighPriority
Because it cannot access the file /proc/<PID>/oom_score to calculate a priority score for the tests because it is checking the score of other processes. Likely need to find an alternate calculation for the test or make the test privledged or accept that this test will only run in this mode, where the file access is available.
| Assignee | ||
Comment 1•1 year ago
|
||
I tend to think it makes more sense to accept this as a condition of the test, so I wouldn't consider it blocking isolated process, but might be a nice-to-have, if we can find an alternate way to access this info.
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
I'm going to see if we can find a new way to formulate these tests that doesn't rely on privileged process information.
| Assignee | ||
Comment 3•1 year ago
|
||
Issue was getContentProcessesOomScore was attempting to read other process's oom scores.
This patch:
- Adjusts
getContentProcessesOomScoreto read the oom score through the test privilegeduiAutomation - Opens tests in
GeckoViewTestgated by isolated process - Runs ktlint on
GeckoViewTest
Comment 5•1 year ago
|
||
| bugherder | ||
Description
•