Closed Bug 1345005 Opened 7 years ago Closed 7 years ago

Ensure validation prefs are set for all tests that run a full sync

Categories

(Firefox :: Sync, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 55
Tracking Status
firefox54 --- fixed
firefox55 --- fixed

People

(Reporter: lina, Assigned: lina)

References

Details

Attachments

(1 file)

Some of our tests call `Svc.Prefs.resetBranch("")` or `Service.startOver()`, which resets the validation prefs to their default values. I stumbled on this figuring out why I wasn't seeing validation results when I uncommented a test above the one I changed in bug 1335891. This patch makes it a bit more explicit which tests perform a full sync, and should run validation.
Comment on attachment 8844313 [details]
Bug 1345005 - Ensure validation prefs are set for all tests that run a full sync.

https://reviewboard.mozilla.org/r/117810/#review119654

Sounds fine, assuming these tests still pass. I'm a little concerned it might lead to more intermittents for tests that don't actually care about validation, but I guess we can address those if/when they happen.
Attachment #8844313 - Flags: review?(tchiovoloni) → review+
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again.

hg error in cmd: hg rebase -s 31f36d9caaad -d 00daf2c5342a: rebasing 379979:31f36d9caaad "Bug 1345005 - Ensure validation prefs are set for all tests that run a full sync. r=tcsc" (tip)
merging services/sync/tests/unit/head_appinfo.js
merging services/sync/tests/unit/head_helpers.js
merging services/sync/tests/unit/test_bookmark_engine.js
merging services/sync/tests/unit/test_fxa_node_reassignment.js
merging services/sync/tests/unit/test_hmac_error.js
merging services/sync/tests/unit/test_node_reassignment.js
merging services/sync/tests/unit/test_score_triggers.js
merging services/sync/tests/unit/test_telemetry.js
warning: conflicts while merging services/sync/tests/unit/head_appinfo.js! (edit, then use 'hg resolve --mark')
warning: conflicts while merging services/sync/tests/unit/head_helpers.js! (edit, then use 'hg resolve --mark')
warning: conflicts while merging services/sync/tests/unit/test_score_triggers.js! (edit, then use 'hg resolve --mark')
unresolved conflicts (see hg resolve, then hg rebase --continue)
Pushed by kcambridge@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/88d9fad7a2d0
Ensure validation prefs are set for all tests that run a full sync. r=tcsc
https://hg.mozilla.org/mozilla-central/rev/88d9fad7a2d0
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: