Update thumbnailer tests to use modern primitives
Categories
(Firefox :: General, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
The thumbnailer tests use an old-school handrolled TestRunner thing with yield and generators, and a bunch of helpers that have been superceded by stuff in BrowserTestUtils.
This is blocking us from getting bug 1576911 landed, since those tests are failing because they're using those old flake-y primitives. We shouldn't update those old mechanisms, we should just wholesale more over to more modern primitives.
Assignee | ||
Comment 1•5 years ago
|
||
This test is race-y, and doesn't actually ensure that the migration has completed
before doing its checks.
When I modified the test to wait for the migration to complete, the test actually
failed. Which isn't great news.
The good news, however, is that the migration took place back in Firefox 21, and
so we can probably remove all of the migration code now.
I'm disabling the test for now, and filed bug 1592079 to remove the migration code
and test completely.
Assignee | ||
Comment 2•5 years ago
|
||
Significantly, we remove the TestRunner stuff since we have nice things like
add_task now.
Depends on D50850
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D50851
Updated•5 years ago
|
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/14014646834b
https://hg.mozilla.org/mozilla-central/rev/567490296c0e
https://hg.mozilla.org/mozilla-central/rev/0a35639905ee
Comment 6•5 years ago
|
||
This bug appears to have caused a regression - https://bugzilla.mozilla.org/show_bug.cgi?id=1604780
Description
•