Closed Bug 987441 Opened 10 years ago Closed 8 years ago

Battery Manager unit test fails on OOP B2G Desktop

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: qdot, Unassigned)

References

Details

I get the following failure reliably only when running ALL unit tests on B2G Desktop with the patch from Bug 914584 applied.

  5) [system] battery manager > "level is near empty" notification > screen goes off > battery goes empty > "before each" hook:
     Uncaught Error: NotFoundError: Node was not found (http://system.gaiamobile.org:8080/js/action_menu.js?time=1395281013720:87)
      at onerror (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4959:7)
      at sendScreenChange (http://system.gaiamobile.org:8080/test/unit/battery_manager_test.js:77:5)
      at (anonymous) (http://system.gaiamobile.org:8080/test/unit/battery_manager_test.js:192:9)
      at wrapper (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:62:13)
      at run (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709:7)
      at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3973:5)
      at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984:5)
      at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932:28)

When I try to fix and update the test file itself, I cannot get this to repro.

Note that this is on my local build. It's not showing up on tbpl, and I don't have a way to replicate this on travis so this is a placeholder until we have more time to investigate.
B2G Desktop is dead, marking wontfix
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.