Closed
Bug 1439061
Opened 7 years ago
Closed 7 years ago
Properly clean up in history engine tests
Categories
(Firefox :: Sync, enhancement, P1)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
Firefox 60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: lina, Assigned: lina)
References
Details
Attachments
(1 file)
The history tests create new instances of `HistoryEngine`, but don't clean up after themselves, so we have multiple trackers, and subsequent tests think it's not the first sync, since every instance uses a shared tracker file and prefs.
Fixing this uncovered an issue in `test_history_visit_dedupe_old`, where we wouldn't upload the record with old visits on the first sync, because all its visits are older than 30 days, which is our cutoff for first syncs.
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8951831 [details]
Bug 1439061 - Stop tracking on engine finalization and clean up in history engine test.
https://reviewboard.mozilla.org/r/221124/#review227640
LGTM!
Attachment #8951831 -
Flags: review?(tchiovoloni) → review+
Pushed by kcambridge@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dcb4baced77a
Stop tracking on engine finalization and clean up in history engine test. r=tcsc
Comment 4•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
You need to log in
before you can comment on or make changes to this bug.
Description
•