Closed Bug 912906 Opened 8 years ago Closed 8 years ago

Extend the unit test timeout to 5 seconds for browser_db_test

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rudyl, Unassigned)

Details

Attachments

(1 file)

There are intermittent failures on Travis when running browser db test, e.g.
https://travis-ci.org/mozilla-b2g/gaia/builds/11006295

It seems the default timeout for mocha was set as 2000ms, and the init of db may exceed that.
Comment on attachment 800035 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/11945

Hi Ben,

This is a simple attempt to avoid the intermittent timeout error on travis server.

Please help review this.
Thanks.
Attachment #800035 - Flags: review?(bfrancis)
Comment on attachment 800035 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/11945

Thanks Rudy
Attachment #800035 - Flags: review?(bfrancis) → review+
https://github.com/mozilla-b2g/gaia/commit/41f9daeca07b230ca2e5f824ed80f7dcfbc93815
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.