Closed Bug 1356079 Opened 8 years ago Closed 8 years ago

Intermittent toolkit/components/places/tests/favicons/test_root_icons.js | test_removePagesByTimeframe - [test_removePagesByTimeframe : 75] There should only be 1 icon entry - 2 == 1

Categories

(Toolkit :: Places, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox54 --- unaffected
firefox55 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: mak)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

I'll see if I can figure out something.
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Blocks: 977177
I'll fix this in bug 1356567, the problem is that the test is passing milliseconds instead of microseconds to addVisits. I'm also adding protection for that.
Depends on: 1356567
To more exact, it's a bug in PlacesTestUtils.addVisits that uses instanceof Date on a date object that crossed a boundary between 2 global objects. Easy to fix, hard to find :)
fixed by bug 1356567.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
hm, may be just due to the concurrent connection reading from an outdated db snapshot. Worth a try.
Comment on attachment 8862309 [details] Bug 1356079 - Ensure the queried db snapshot is current in test_root_icons.js. https://reviewboard.mozilla.org/r/134238/#review137836
Attachment #8862309 - Flags: review?(adw) → review+
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/14244aafaa91 Ensure the queried db snapshot is current in test_root_icons.js. r=adw
Status: REOPENED → RESOLVED
Closed: 8 years ago8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: