Closed
Bug 1101655
Opened 9 years ago
Closed 9 years ago
[mozdevice] Support the ADB server running on an alternate host/port
Categories
(Testing :: Mozbase, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla36
People
(Reporter: davehunt, Assigned: davehunt)
References
Details
Attachments
(1 file, 1 obsolete file)
4.21 KB,
patch
|
wlach
:
review+
|
Details | Diff | Splinter Review |
Currently all of our ADB calls assume that we want to execute them on localhost:5037 (the defaults), however we now have a need to run them on a remote server. I would like to add server host/port arguments when instantiating an ADB device manager.
Assignee | ||
Comment 1•9 years ago
|
||
Try: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=8d776fbc595a
Attachment #8525984 -
Flags: review?(wlachance)
Comment 2•9 years ago
|
||
Comment on attachment 8525984 [details] [diff] [review] Support the ADB server running on an alternate host/port. v1.0 Review of attachment 8525984 [details] [diff] [review]: ----------------------------------------------------------------- Looks good except for the variable naming. Assuming it works since I haven't tested it. :) ::: testing/mozbase/mozdevice/mozdevice/devicemanagerADB.py @@ +42,5 @@ > self.host = host > self.port = port > self.retryLimit = retryLimit > > + self.server_host = server_host We should use camel case for variable names, following the style elsewhere in the file.
Attachment #8525984 -
Flags: review?(wlachance) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Uses camel case, and removes the defaults of localhost and 5037. By specifying these it stopped ADB from starting the daemon locally and assumed it was already running. Try: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=ba879872ea10
Attachment #8525984 -
Attachment is obsolete: true
Attachment #8528480 -
Flags: review?(wlachance)
Updated•9 years ago
|
Attachment #8528480 -
Flags: review?(wlachance) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 4•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8887aaafa0c3
Keywords: checkin-needed
Comment 5•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8887aaafa0c3
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in
before you can comment on or make changes to this bug.
Description
•