Closed Bug 1164786 Opened 9 years ago Closed 6 years ago

nfcd won't start when run nfc marionette testcases

Categories

(Firefox OS Graveyard :: NFC, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dimi, Unassigned)

References

Details

In bug 1109592, nfcd will only run when nfc is enabled
The way we activate/deactivate nfcd is by using set property "ctl.start" & "ctl.stop"
In emulator it seems sometimes enable/disable NFC too quick will cause nfcd won't start

Currently we delay 100ms for enabling/disablubg NFC in marionette testcase as a workaround solution
This sounds like a problem we've seen in Bluetooth bug 1143925. If the Bluetooth daemon get's restarted quickly, the init progress can't catch up.

You might want to check patch [1], and how we use |StartDaemonTask| and |IsDaemonRunning| to work around the problem.

[1] https://bugzilla.mozilla.org/attachment.cgi?id=8599839
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.