Closed Bug 949315 Opened 11 years ago Closed 11 years ago

Travis unit test failure on v1.2: initGridManager is not defined

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect)

x86
macOS
defect
Not set
normal

Tracking

(b2g-v1.2 fixed, b2g-v1.3 unaffected)

RESOLVED FIXED
Tracking Status
b2g-v1.2 --- fixed
b2g-v1.3 --- unaffected

People

(Reporter: rudyl, Assigned: macajc)

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
crdlc
: review+
Details | Review
I saw every build on v1.2 failed on this,

--
  1) [homescreen] everything.me.js > Everything.me is displayed > grid.js > onInstall event dispatch before SingleVariant will be ready > Dispatch onInstall before SingleVariant is been ready "before each" hook:
     ReferenceError: initGridManager is not defined
      at (anonymous) (http://homescreen.gaiamobile.org:8080/test/unit/grid_test.js:464)
      at wrapper (http://test-agent.gaiamobile.org:8080/common/test/mocha_generators.js:60)
      at run (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709)
      at next (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3973)
      at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984)
      at (anonymous) (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932)
Carmen, could it be for something related to single variant? Thanks a lot
Flags: needinfo?(cjc)
I'll take a look at it
Flags: needinfo?(cjc)
Assignee: nobody → cjc
Attached file Proposed patch v1
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):
944495
[User impact] if declined:
none
[Testing completed]:
yes
[Risk to taking this patch] (and alternatives if risky):
very low
[String changes made]:
Fixed unit test on homescreen/grid_test.js
Attachment #8347297 - Flags: review?(crdlc)
Attachment #8347297 - Flags: approval-gaia-v1.2?
Comment on attachment 8347297 [details] [review]
Proposed patch v1

Thanks a lot Carmen. Just a question, could it happen on master and v1.3 as well?
Attachment #8347297 - Flags: review?(crdlc) → review+
No, this was just a left over from the uplift of bug 925461 to 1.2
Merged:
https://github.com/mozilla-b2g/gaia/commit/3f2550c2fabea0f16e9c743093c4b61103a8dba8
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment #8347297 - Flags: approval-gaia-v1.2?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: