Closed Bug 565943 Opened 14 years ago Closed 13 years ago

Intermittent timeout in test_bug253481.xul

Categories

(Core :: DOM: Editor, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
mozilla1.9.3a5

People

(Reporter: philor, Assigned: ehsan.akhgari)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1273837023.1273838210.23172.gz
Linux mozilla-central opt test mochitest-other on 2010/05/14 04:37:03
s: moz2-linux-slave11

7400 INFO Running chrome://mochikit/content/chrome/toolkit/content/tests/chrome/test_bug253481.xul...
TEST-UNEXPECTED-FAIL | automation.py | application timed out after 330 seconds with no output
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1274227645.1274228584.8630.gz
Linux mozilla-central opt test mochitest-other on 2010/05/18 17:07:25
s: moz2-linux-slave15
this test was mentioned in bug 474081 as one which could have issues...

So it could be a clipboard issue. At the very least, this test should probably poll instead of expect the value is on the clipboard, especially on linux. I just wrote a waitForClipboard helper in bug 567870, which should be usable here.

Though, it seems like the test would outright fail if it were a clipboard issue. Otherwise it could be a focus issue, though focus() is supposed to by sync which would instead cause this test to just fail.
Attached patch Patch (v1)Splinter Review
Fixed both problems.  Since this only has happened on Linux, we can't be sure which one has been the underlying cause, but anyway with this patch the test is robust (although the whitespace is messed up :-) )
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #449167 - Flags: review?(roc)
http://hg.mozilla.org/mozilla-central/rev/4f8458252dac
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Has not happened since July.  => WFM.
Status: REOPENED → RESOLVED
Closed: 14 years ago13 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: