Closed
Bug 1333114
Opened 8 years ago
Closed 8 years ago
Refactor wpt test runner as a prerequisite for leak checking for web-platform-tests
Categories
(Testing :: web-platform-tests, defect)
Testing
web-platform-tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jgraham, Unassigned)
References
Details
Attachments
(2 files, 2 obsolete files)
Because this should have been done some time ago.
One problem is how to deal with tests from upstream that leak on import. We can't delay the import in order to fix them, so we might need to add a metadata mechansim for skipping leak checking during those tests, or similar.
Reporter | ||
Comment 1•8 years ago
|
||
Added the extra bits I had on try to help people trying to reproduce issues.
Reporter | ||
Comment 2•8 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8831721 [details]
Bug 1333114 - Enable leak checking for web-platform-tests,
https://reviewboard.mozilla.org/r/108268/#review109566
::: testing/web-platform/README.md:176
(Diff revision 1)
> dom.caches.enabled:true]
>
> +Disabiling Leak Checks
> +----------------------
> +
> +When a test is imported that leak, it may be necessary to temporarily
"that leaks"
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8831720 [details]
Bug 1333114 - Refactor wpt TestRunner,
https://reviewboard.mozilla.org/r/108266/#review109562
::: testing/web-platform/harness/wptrunner/testrunner.py:114
(Diff revision 1)
> + self.send_message("error",
> + "Timed out when waiting for %s" %
> + (command,))
> + raise
> +
> + if command != command:
What?
::: testing/web-platform/harness/wptrunner/testrunner.py:216
(Diff revision 1)
> + succeeded = True
> + self.started = True
> +
> + # This has to happen after the lock is released
> + if not succeeded:
> + return False
What's the point of this `if`?
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Reporter | ||
Updated•8 years ago
|
Attachment #8831719 -
Attachment is obsolete: true
Comment 10•8 years ago
|
||
mozreview-review |
Comment on attachment 8831720 [details]
Bug 1333114 - Refactor wpt TestRunner,
https://reviewboard.mozilla.org/r/108266/#review114522
::: testing/web-platform/harness/wptrunner/testrunner.py:54
(Diff revision 2)
> """Class implementing the main loop for running tests.
>
> This class delegates the job of actually running a test to the executor
> that is passed in.
>
> :param test_queue: subprocess.Queue containing the tests to run
Remove
::: testing/web-platform/harness/wptrunner/testrunner.py:613
(Diff revision 2)
> def error(self, message):
> self.logger.error(message)
> self.restart_runner()
>
> + def stop_runner(self, force=False):
> + """Stop the TestRunner and the Firefox binary."""
Is this code specific to Fx?
Attachment #8831720 -
Flags: review?(Ms2ger) → review+
Comment hidden (mozreview-request) |
Reporter | ||
Updated•8 years ago
|
Attachment #8831721 -
Attachment is obsolete: true
Attachment #8831721 -
Flags: review?(Ms2ger)
Comment hidden (mozreview-request) |
Reporter | ||
Updated•8 years ago
|
Keywords: leave-open
Comment 13•8 years ago
|
||
mozreview-review |
Comment on attachment 8831720 [details]
Bug 1333114 - Refactor wpt TestRunner,
https://reviewboard.mozilla.org/r/108266/#review124618
Attachment #8831720 -
Flags: review+
Comment 14•8 years ago
|
||
mozreview-review |
Comment on attachment 8831720 [details]
Bug 1333114 - Refactor wpt TestRunner,
https://reviewboard.mozilla.org/r/108266/#review124620
Comment 15•8 years ago
|
||
mozreview-review |
Comment on attachment 8831720 [details]
Bug 1333114 - Refactor wpt TestRunner,
https://reviewboard.mozilla.org/r/108266/#review124624
Comment 16•8 years ago
|
||
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/autoland/rev/a0e6a0c4712a
Refactor wpt TestRunner, r=automatedtester,Ms2ger
Comment 17•8 years ago
|
||
bugherder |
Reporter | ||
Comment 18•8 years ago
|
||
I poisoned the well on this bug by using it to land a prerequisite via mozreview. So created a new meta bug for the whole feature and moved the dependencies there.
Reporter | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment 19•7 years ago
|
||
Removing leave-open keyword from resolved bugs, per :sylvestre.
Keywords: leave-open
You need to log in
before you can comment on or make changes to this bug.
Description
•