Closed Bug 844498 Opened 8 years ago Closed 8 years ago
Gaia UI tests occasionally fail when running against B2G desktop client builds with call to set
Timeout blocked by CSP
When running the Gaia UI tests against a B2G desktop client I occasionally see a failure due to "call to setTimeout blocked by CSP", which causes all the following tests to also fail. You can see this Travis-CI build for an example: https://travis-ci.org/davehunt/gaia-ui-tests/builds/5005711/#L832 Log is attached.
OS: Mac OS X → All
Hardware: x86 → All
With the next release of Marionette we will be able to restart the B2G desktop client between tests. This means although this will most likely still occur, we will be able to recover from it.
I have been able to narrow this down to a specific unit test that was failing 1 in every 5 runs. It was attempting to kill an application that wasn't currently in view, so I simply added a launch for the application before killing it to bring it into view and now it passes every time.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.