Closed
Bug 1828178
Opened 2 years ago
Closed 2 years ago
Profiler tests should not fail when MOZ_PROFILER_STARTUP is set in the environment
Categories
(Core :: Gecko Profiler, task, P1)
Core
Gecko Profiler
Tracking
()
RESOLVED
FIXED
114 Branch
| Tracking | Status | |
|---|---|---|
| firefox114 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
Details
Attachments
(1 file)
Setting MOZ_PROFILER_STARTUP=1 in the environment is a convenient way to have profiles from try pushes. There are currently 2 profiler tests that fail when doing that:
TEST-UNEXPECTED-FAIL | ipc/glue/test/browser/browser_utility_profiler.js | Uncaught exception in test bound - at chrome://mochitests/content/browser/tools/profiler/tests/browser/shared-head.js:32 - Error: The profiler must not be active before starting it in a test.
TEST-UNEXPECTED-FAIL | tools/profiler/tests/browser/browser_test_feature_ipcmessages.js | The profiler is not currently active - false == true
TEST-UNEXPECTED-FAIL | tools/profiler/tests/browser/browser_test_feature_ipcmessages.js | Uncaught exception in test bound test_profile_feature_ipcmessges - at chrome://mochitests/content/browser/tools/profiler/tests/browser/shared-head.js:32 - Error: The profiler must not be active before starting it in a test.
In my opinions these failures are just noise, and we should silence them.
| Assignee | ||
Comment 1•2 years ago
|
||
Severity: -- → N/A
Priority: -- → P1
Pushed by fqueze@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d7889d35d5d7
Profiler tests should not fail when MOZ_PROFILER_STARTUP is set in the environment, r=canaltinova.
Comment 3•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox114:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•