Closed Bug 1438339 Opened 7 years ago Closed 7 years ago

Remove the talos_* pageloader browser preferences after each test run

Categories

(Testing :: Talos, enhancement)

Version 3
enhancement
Not set
normal

Tracking

(firefox60 fixed)

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: rwood, Assigned: rwood)

References

Details

(Whiteboard: [PI:February])

Attachments

(1 file)

In order to tell pageloader the test specifics i.e. manifest, tppagecycles, etc. talos sets 'talos_*' browser preferences, and the pageloader addon reads those preferences and applies them to the test. Which works great, however I noted we are not un-setting these browser prefs after the test is finished, This can cause issues when there are multiple pageloader tests in the same talos suite, that don't define the same types of test options. For example, if the first pageloader test uses the 'cycles' setting, a corresponding 'talos_cycles' browser pref is set for pageloader to use for that test, as expected. Then if a following pageloader test in the same suite runs, but it doesn't have 'cycles' defined / required for that test - it picks up the existing 'talos_cycles' browser pref anyway and applies that to the current test, incorrectly.
Blocks: 1384272
Comment on attachment 8951259 [details] Bug 1438339 - Remove the talos_* pageloader browser preferences after each test run; https://reviewboard.mozilla.org/r/220518/#review226464 this looks really good
Attachment #8951259 - Flags: review?(jmaher) → review+
Pushed by rwood@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5fa6e41a00df Remove the talos_* pageloader browser preferences after each test run; r=jmaher
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: