Closed Bug 1117541 Opened 9 years ago Closed 9 years ago

Fix and run xpcshell tests for the provider

Categories

(Calendar :: Provider: GData, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
4.0.0.1

People

(Reporter: Fallen, Assigned: Fallen)

References

Details

Attachments

(1 file, 1 obsolete file)

The test are skipped currently since there are a few minor errors that I didn't have time to fix. Mostly about variables declared twice and a small change needed after the throttling additions.
It almost worked :) looks like [getAllMeta(calendar)...][1] is returning only 1 item. Is it because of the same recurrence Id?

[1]: https://hg.mozilla.org/try-comm-central/file/befa4eabce68/calendar/test/unit/test_gdata_provider.js#l1153
recurringEventId is the id of the orginal event, so it should be fine. I kind of wonder why it passed on opt and failed on debug and only happens on linux. I'm doing another try run now just for the hell of it, then I might do another few with more debug messages.
Oh wait, I see what you mean. I missed to change the ID of the second exception, it is also go6ijb0b46hlpbu4eeu92njevo_20060610T160000Z. I've changed this now and have started a second try run:

https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=75ffffc78aea

I had to disable the ical.js tests, because they are failing horribly. This needs to be fixed before pushing of course.
Comment on attachment 8543668 [details] [diff] [review]
Fix - v1

Review of attachment 8543668 [details] [diff] [review]:
-----------------------------------------------------------------

Yep Looks like now it works
Attachment #8543668 - Flags: review?(mohit.kanwal) → review+
Actually, I'm still seeing it on Linux debug:

TEST-UNEXPECTED-FAIL | xpcshell-libical.ini:calendar/test/unit/test_gdata_provider.js | test_metadata_recurring - [test_metadata_recurring : 1153] 1 == 3
Attached patch Fix - v2 β€” β€” Splinter Review
Here is an updated patch. It definitely passes on Linux:

https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=d7c558d69ccd

I'm running a full try run after a few more small changes. I'll also have to file bugs for a few more patches so this one should be pushed last.

https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=b1445f13fa1c
Attachment #8543668 - Attachment is obsolete: true
Attachment #8552416 - Flags: review?(mohit.kanwal)
Nice, tests pass. The failures are not caused by this patch.
Comment on attachment 8552416 [details] [diff] [review]
Fix - v2

Review of attachment 8552416 [details] [diff] [review]:
-----------------------------------------------------------------

All Good here!
Attachment #8552416 - Flags: review?(mohit.kanwal) → review+
comm-central changeset 29b2f7fd82ac
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 4.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: