Closed Bug 1469501 Opened 6 years ago Closed 6 years ago

TEST-UNEXPECTED-FAIL | xpcshell-icaljs.ini:comm/calendar/test/unit/test_providers.js

Categories

(Calendar :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jorgk-bmo, Assigned: darktrojan)

References

Details

Attachments

(1 file, 1 obsolete file)

This has popped up after re-enabling tests in bug 1457087.
Keywords: leave-open
Attached patch 1469501-disable-test.patch (obsolete) β€” β€” Splinter Review
Version: Lightning 6.2 → Trunk
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/comm-central/rev/d783a688319c temporarily disable test_providers.js. rs=bustage-fix
This is failing because the test framework won't call toString() when an object is provided as the test label. Since the information is redundant anyway, I've just removed it.
Assignee: nobody → geoff
Attachment #8986117 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #8988979 - Flags: review?(philipp)
Comment on attachment 8988979 [details] [diff] [review] 1469501-test-providers-1.diff Review of attachment 8988979 [details] [diff] [review]: ----------------------------------------------------------------- ::: calendar/test/unit/head_consts.js @@ -212,5 @@ > } > for (let i = 0; i < aPropArray.length; i++) { > equal(getProps(aLeftItem, aPropArray[i]), > - getProps(aRightItem, aPropArray[i]), > - Components.stack.caller); This is probably a leftover from before we used equal(). The idea was to augment the stack so it wouldn't show this function. Totally right to remove this!
Attachment #8988979 - Flags: review?(philipp) → review+
Nice, test passes with this patch. So *all* Calendar Xpcshell tests are online again. Now we're missing the real thing ;-) Any idea where this problem regressed?
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/comm-central/rev/dcc96405a9ea Fix broken test calendar/test/unit/test_providers.js. r=philipp
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Keywords: leave-open
Resolution: --- → FIXED
Target Milestone: --- → 6.5
Comment on attachment 8988979 [details] [diff] [review] 1469501-test-providers-1.diff I hope there won't be too much opposition to uplifting this since most test were restored on TB 62, Cal 6.4, so this needs to join them.
Attachment #8988979 - Flags: approval-calendar-beta?(philipp)
Beta (TB 62, Cal 6.4): https://hg.mozilla.org/releases/comm-beta/rev/8b37d802b5c1224546e761007620ccdf8bd095d0 Fix broken test calendar/test/unit/test_providers.js. r=philipp a=test-only Note that M-C have the policy that "test only" changes don't need special approval.
Target Milestone: 6.5 → 6.4
Attachment #8988979 - Flags: approval-calendar-beta?(philipp) → approval-calendar-beta+
(In reply to Jorg K (GMT+2) from comment #8) > Note that M-C have the policy that "test only" changes don't need special > approval. This is fine for me in calendar as well.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: