Closed
Bug 1298909
Opened 8 years ago
Closed 8 years ago
slowest test information is incorrect
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(firefox51 fixed)
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: dbaron, Assigned: prakhar0409)
Details
Attachments
(2 files)
1.18 KB,
patch
|
Details | Diff | Splinter Review | |
58 bytes,
text/x-review-board-request
|
jmaher
:
review+
|
Details |
I just ran: ./mach test layout/style/test/test_selectors.html layout/style/test/test_change_hint_optimizations.html in a Linux debug build. and a few key lines quoted from within the output are: >4 INFO TEST-OK | layout/style/test/test_change_hint_optimizations.html | took 1407ms >3976 INFO TEST-OK | layout/style/test/test_selectors.html | took 26924ms >3982 INFO Slowest: 1406ms - /tests/layout/style/test/test_change_hint_optimizations.html This seems to be lying about which test was slowest!
Reporter | ||
Comment 1•8 years ago
|
||
The first two lines quoted seem correct based on how long things took; it's the third quoted line that's wrong.
Assignee | ||
Comment 2•8 years ago
|
||
removed the requestLongerTimeout(2) from layout/style/test/test_selector.html -> It was changing the timeoutFactor to 2 but TestRunner.js updates slowestTestTime only if timeoutFactor is 1
Comment 3•8 years ago
|
||
This is an interesting find! Can we fix TestRunner.js to update the slowestTestTime ignoring timeoutFactor?
Updated•8 years ago
|
Assignee: nobody → prakhar0409
Comment hidden (mozreview-request) |
Comment 5•8 years ago
|
||
Prakhar, thanks for the mozreview request! I would like to not comment out the request for longer timeout, that is needed in cases of debug tests on certain platforms. Can we have this print out the proper information inside of TestRunner.js ? One other thing, in the commit message for the patch/review- could you adjust it slightly: Bug 1298909 - <description>. r?jmaher make the description something smaller that can easily be read on one line, maybe "report slowest test in all cases, even with requestLongerTimeout() is called."
Comment hidden (mozreview-request) |
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8791580 [details] Bug 1298909 - report slowest test in all cases, even with requestLongerTimeout() is called. https://reviewboard.mozilla.org/r/78986/#review77844 this seems like the right thing! let me push to try to make sure nothing odd comes out of this.
Attachment #8791580 -
Flags: review?(jmaher) → review+
Comment 8•8 years ago
|
||
pushed to try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=15f961009c80 and all is well!
Comment 9•8 years ago
|
||
mozreview-review |
Comment on attachment 8791580 [details] Bug 1298909 - report slowest test in all cases, even with requestLongerTimeout() is called. https://reviewboard.mozilla.org/r/78986/#review77918
Comment 10•8 years ago
|
||
Pushed by jmaher@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/42fd3f718fdc report slowest test in all cases, even with requestLongerTimeout() is called. r=jmaher
Comment 11•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/42fd3f718fdc
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in
before you can comment on or make changes to this bug.
Description
•