Closed Bug 1003253 Opened 11 years ago Closed 10 years ago

add better logging message to timeout failures

Categories

(Add-on SDK Graveyard :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla35

People

(Reporter: zombie, Assigned: zombie)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

a timeout in a single test function can be due to more than different bug. especially true for intermittents! see bug 1002826 for more details..
Can you describe what better logging you are looking for here?
(In reply to Dave Townsend [:mossop] from comment #1) > Can you describe what better logging you are looking for here? The jetpack harness implementation of the idea in bug 1002826 comment 4 (that bug is more of a meta bug for all harnesses).
Blocks: 1002826
details are in bug 1002826 comment 4, but in short, add the last logged TEST-PASS (or TEST-START) line to the timeout message to distinguish between two different bug failures (like in bug 983277) that timeout at different points in the test.
i don't know if there is a good way to test this change (apart from manual testing of course).
Attachment #8495137 - Flags: review?(dtownsend+bugmail)
Attachment #8495137 - Flags: review?(dtownsend+bugmail) → review+
Commits pushed to master at https://github.com/mozilla/addon-sdk https://github.com/mozilla/addon-sdk/commit/c059763590dc5a7fb56ace36aecba0bd6f964f82 bug 1003253 - better logging after test timeout https://github.com/mozilla/addon-sdk/commit/7432dcc7084fd88446a1934d88b8aeb3decdbee9 Merge pull request #1649 from zombie/1003253-timeout-after bug 1003253 - better logging after test timeout, r=@Mossop
I reverted this for breaking the tree.
(In reply to Tomislav Jovanovic [:zombie] from comment #4) > i don't know if there is a good way to test this change turns out we have tests for this, so i updated the ones that were failing..
Status: NEW → ASSIGNED
Attachment #8495720 - Flags: review?(dtownsend+bugmail) → review+
Commits pushed to master at https://github.com/mozilla/addon-sdk https://github.com/mozilla/addon-sdk/commit/3b7615cd131a79a53e06c27486051877a752abcb bug 1003253 - better logging after test timeout, update test https://github.com/mozilla/addon-sdk/commit/aa96259de889401927e6cad8902733c7ebdc699f Merge pull request #1655 from zombie/1003253-timeout-after bug 1003253 - better logging after test timeout, update test, r=@Mossop
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: