Closed
Bug 1091453
Opened 10 years ago
Closed 10 years ago
[Calendar] Intermittent Failure TEST-UNEXPECTED-FAIL | calendar/test/unit/views/single_day_test.js | Views.SingleDay #_render - TypeError: this.connection is null (app://calendar.gaiamobile.org/js/db.js:153)
Categories
(Firefox OS Graveyard :: Gaia::Calendar, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.1 S8 (7Nov)
People
(Reporter: julienw, Assigned: mmedeiros)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
https://treeherder.mozilla.org/ui/logviewer.html#?job_id=259999&repo=gaia-try 12:20:02 INFO - JavaScript error: app://calendar.gaiamobile.org/js/db.js, line 153: TypeError: this.connection is null 12:20:02 INFO - TEST-UNEXPECTED-FAIL | calendar/test/unit/views/single_day_test.js | Views.SingleDay #_render - TypeError: this.connection is null (app://calendar.gaiamobile.org/js/db.js:153) 12:20:02 INFO - Error: TypeError: this.connection is null (app://calendar.gaiamobile.org/js/db.js:153) 12:20:02 INFO - at onerror (app://calendar.gaiamobile.org/common/vendor/mocha/mocha.js:4959:10) 12:20:02 INFO - TEST-UNEXPECTED-FAIL | calendar/test/unit/views/single_day_test.js | Views.SingleDay "after each" hook - dayObserver.on.restore is not a function 12:20:02 INFO - TypeError: dayObserver.on.restore is not a function 12:20:02 INFO - at (anonymous) (app://calendar.gaiamobile.org/test/unit/views/single_day_test.js:44:5) 12:20:02 INFO - at wrapper (app://calendar.gaiamobile.org/common/test/mocha_generators.js:62:19) 12:20:02 INFO - at run (app://calendar.gaiamobile.org/common/vendor/mocha/mocha.js:3709:7) 12:20:02 INFO - at next (app://calendar.gaiamobile.org/common/vendor/mocha/mocha.js:3973:5) 12:20:02 INFO - at (anonymous) (app://calendar.gaiamobile.org/common/vendor/mocha/mocha.js:3984:5) 12:20:02 INFO - at (anonymous) (app://calendar.gaiamobile.org/common/vendor/mocha/mocha.js:4932:28)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Reporter | ||
Comment 5•10 years ago
|
||
Hey Kevin, do you have an idea about this?
Flags: needinfo?(kgrandon)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → mmedeiros
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 15•10 years ago
|
||
I executed the unit tests 40x times and was not able to reproduce it after I added the `db.open` and `db.close` calls. so I guess this should fix it.
Attachment #8516231 -
Flags: review?(gaye)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 21•10 years ago
|
||
Comment on attachment 8516231 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/25775 Stealing review at :daleharvey's request since Gareth is busy and this looks straightforward/sane by inspection.
Attachment #8516231 -
Flags: review?(gaye) → review+
Assignee | ||
Comment 22•10 years ago
|
||
landed on master: https://github.com/mozilla-b2g/gaia/commit/80c1f30acf7857ff314ad69b4c41bd9d7b9c6386
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•