Closed
Bug 776541
Opened 12 years ago
Closed 12 years ago
devicemanagerSUT closes the socket after each "push"
Categories
(Testing :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla17
People
(Reporter: gbrown, Assigned: gbrown)
Details
Attachments
(1 file)
1.05 KB,
patch
|
wlach
:
review+
|
Details | Diff | Splinter Review |
Robocop logs on tbpl now show a lot of "reconnecting socket" messages when a test is being set up. It appears that the SUT socket is closed by devicemanagerSUT each time a file is pushed ("push" is listed as a command that should close the socket). Closing and reopening the socket seems unnecessary, wasteful, and unexpected. It appears this change in behavior is an unintended consequence of the patch for bug 772105.
Comment 1•12 years ago
|
||
One thing that's worth pointing out is that we weren't closing the socket before because we considered the data we were pushing a separate "command" before, which overrode the "close socket on completion" behaviour. Should be a trivial change to get the old behaviour back (just change "push" to not be a command that requires closing the socket on completion)
Hardware: x86 → ARM
Comment 2•12 years ago
|
||
yeah, this has changed now that sutagent takes the length in part of the command.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → gbrown
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #645019 -
Flags: review?(wlachance)
Comment 4•12 years ago
|
||
Comment on attachment 645019 [details] [diff] [review] keep socket open after 'push' LGTM
Attachment #645019 -
Flags: review?(wlachance) → review+
Assignee | ||
Comment 5•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2ec96af0e07f
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2ec96af0e07f
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in
before you can comment on or make changes to this bug.
Description
•