Closed Bug 964280 Opened 10 years ago Closed 10 years ago

[b2gpopulate] Add command line option to override b2g start timeout

Categories

(Testing :: General, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rwood, Assigned: rwood)

References

Details

Attachments

(2 files)

When using b2gpopulate with the emulator on a slower-running VM, after populating the emulator with data, b2gpopulate times out when restarting b2g. Add a command line option to b2gpopulate to allow the user to override the default timeout of 60 seconds.
This will require a change to both gaiatest and b2gpopulate.

Gaiatest (GaiaDevice) will need to be modified to be able to receive an optional timeout value in start_b2g.

https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/gaia_test.py#L757

Gaiatest will need to be updated and released first, before the change to b2gpopulate.
Let's try to get this in the upcoming gaiatest release.
Blocks: 963716
Attached file 964280gaiatestpr.txt
This is the PR for the gaiatest part of the change.
Attachment #8366609 - Flags: review?(dave.hunt)
Comment on attachment 8366609 [details] [review]
964280gaiatestpr.txt

r=me with the nit addressed.
Attachment #8366609 - Flags: review?(dave.hunt) → review+
Blocks: 899194
Thanks, landed in:
https://github.com/mozilla-b2g/gaia/commit/89b1df359d8a554ca8912a09d45a36feaa58701c
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Thanks Dave!

Re-opening for the change required for b2gpopulate itself.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Adding the corresponding PR for the b2gpopulate side.
Attachment #8367293 - Flags: review?(dave.hunt)
Comment on attachment 8367293 [details] [review]
link to PR: https://github.com/mozilla/b2gpopulate/pull/12

See comments in pull request.
Attachment #8367293 - Flags: review?(dave.hunt) → review-
Comment on attachment 8367293 [details] [review]
link to PR: https://github.com/mozilla/b2gpopulate/pull/12

Thanks Dave - changes made and PR updated
Attachment #8367293 - Flags: review- → review?(dave.hunt)
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: