Closed
Bug 914713
Opened 11 years ago
Closed 11 years ago
Default timeout for wait_for_port is 3000s (50 minutes)
Categories
(Remote Protocol :: Marionette, defect)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla26
People
(Reporter: jgraham, Assigned: Debloper)
Details
(Whiteboard: [good first bug][lang=python][mentor=mdas])
Attachments
(1 file)
1.02 KB,
patch
|
mdas
:
review+
|
Details | Diff | Splinter Review |
The default timeout of 3000s seems excessively long. Possibly it is supposed to be 3s? In that case it would make sense to retry more than once per second. (It is also not clear why there is a 5s wait after the port has been opened).
Comment 1•11 years ago
|
||
I think 30seconds is perfect for wait for port, since it accommodates the case where we restart b2g. As a first bug: To make this change, you'll need to look at (mozilla-central source_testing/marionette/client/marionette/marionette.py and modify the default value for the wait_for_port function and how it uses the default value (ie: what it passes to the timedelta function)
Whiteboard: [good first bug][lang=python][mentor=mdas]
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → debloper
OS: Linux → All
Hardware: x86_64 → All
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #802621 -
Flags: review?(mdas)
Comment 3•11 years ago
|
||
Comment on attachment 802621 [details] [diff] [review] v1.patch Review of attachment 802621 [details] [diff] [review]: ----------------------------------------------------------------- Great, thanks! I've tested this locally against the unit test suite and it works as expected. Will land in m-i/m-c shortly.
Attachment #802621 -
Flags: review?(mdas) → review+
Comment 4•11 years ago
|
||
I've pushed it to m-i: https://hg.mozilla.org/integration/mozilla-inbound/rev/e0da7141fa04 by the way, Debloper, I had to add your username to the patch so you'd be recognized as the one who wrote the change. You should add your username to your hg configuration so your username will show up in future patches automatically: https://developer.mozilla.org/en-US/docs/Installing_Mercurial#Basic_configuration
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e0da7141fa04
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Assignee | ||
Comment 6•11 years ago
|
||
(In reply to Malini Das [:mdas] from comment #4) > I've pushed it to m-i: > https://hg.mozilla.org/integration/mozilla-inbound/rev/e0da7141fa04 Awesome, thanks! > by the way, Debloper, I had to add your username to the patch so you'd be > recognized as the one who wrote the change. /me checks the hgrc config... *seems alright* /me checks the patch again... *no author info* /me isn't sure what went wrong, but sure as hell it's one such case! Thanks, bytheway!
Updated•1 year ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•