Closed Bug 883553 Opened 11 years ago Closed 10 years ago

Intermittent TEST-UNEXPECTED-FAIL | /home/cltbld/talos-slave/test/build/mozmill/content-tabs/test-plugin-blocked.js | test-plugin-blocked.js::test_blocklisted_plugin_notification

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 24.0

People

(Reporter: aceman, Assigned: aceman)

Details

(Keywords: intermittent-failure)

Attachments

(1 file, 1 obsolete file)

SUMMARY-UNEXPECTED-FAIL | test-plugin-blocked.js | test-plugin-blocked.js::test_blocklisted_plugin_notification
  EXCEPTION: Timeout waiting for alert
    at: utils.js line 447
       TimeoutError utils.js 447
       waitFor utils.js 485
       MozMillController.prototype.waitFor controller.js 685
       NotificationWatcher.waitForNotification test-content-tab-helpers.js 135
       test_blocklisted_plugin_notification test-plugin-blocked.js 77
       Runner.prototype.wrapper frame.js 582
       Runner.prototype._runTestModule frame.js 652
       Runner.prototype.runTestModule frame.js 698
       Runner.prototype.runTestFile frame.js 531
       runTestFile frame.js 710
       Bridge.prototype._execFunction server.js 179
       Bridge.prototype.execFunction server.js 183
SUMMARY-PASS | test-plugin-blocked.js::teardownModule

This seems to be caused by Core bug 880675 where .blocklisted attribute changed to readonly so it does not have any effect in the test.
Attached patch patch (obsolete) — Splinter Review
I updated the patch in the way Firefox tests were done in bug 880675.
I do not like I have to wait on the async callback finish via the 'testDone' variable. But I haven't found a better way yet.
Attachment #763130 - Flags: review?(mconley)
Attachment #763130 - Flags: review?(mbanner)
Attached patch patch v2Splinter Review
Sorry, this one is better.
Attachment #763130 - Attachment is obsolete: true
Attachment #763130 - Flags: review?(mconley)
Attachment #763130 - Flags: review?(mbanner)
Attachment #763142 - Flags: review?(mconley)
Attachment #763142 - Flags: review?(mbanner)
Attachment #763142 - Flags: review?(mconley)
Attachment #763142 - Flags: review?(mbanner)
Attachment #763142 - Flags: review+
Keywords: checkin-needed
https://hg.mozilla.org/comm-central/rev/6fe31acd7594
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 24.0
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: Permanent orange: TEST-UNEXPECTED-FAIL | /home/cltbld/talos-slave/test/build/mozmill/content-tabs/test-plugin-blocked.js | test-plugin-blocked.js::test_blocklisted_plugin_notification → Intermittent TEST-UNEXPECTED-FAIL | /home/cltbld/talos-slave/test/build/mozmill/content-tabs/test-plugin-blocked.js | test-plugin-blocked.js::test_blocklisted_plugin_notification
I think this orange has been fixed by the patch for bug 933633.
It does not happen in current tree so let's try to close this for now.
Status: REOPENED → RESOLVED
Closed: 11 years ago10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: