Closed
Bug 1230847
Opened 9 years ago
Closed 9 years ago
Callback of runEmulatorCmd/runEmulatorShell doesn't be triggered correctly when running two requests in parallel
Categories
(Remote Protocol :: Marionette, defect)
Remote Protocol
Marionette
Tracking
(firefox45 fixed)
RESOLVED
FIXED
mozilla45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: edgar, Assigned: edgar)
References
Details
(Keywords: pi-marionette-server)
Attachments
(1 file, 1 obsolete file)
Bug 1211489 allows running requests in parallel, but when test script execute two runEmulatorCmd in parallel, only callback will be triggered correctly. After checking the log, marionette did receive both response, but only one callback is triggered.
Assignee | ||
Comment 1•9 years ago
|
||
I found Bug 1211489 changed to use |asyncTestCommandId| as id for every runEmulator* message which causes problem on handling parallel request. In this patch, I just rollback to use increasing |_emu_cb_id| as id, not sure if this is a good way to fix this. :ato, could you take a look at the patch? Thank you.
Attachment #8696365 -
Flags: feedback?(ato)
Comment 2•9 years ago
|
||
This patch looks fine to me. Can you please submit it to mozreview?
Updated•9 years ago
|
Attachment #8696365 -
Flags: feedback?(ato) → feedback+
Assignee | ||
Comment 3•9 years ago
|
||
Bug 1230847 - Use increasing value as id for runEmulatorCmd and runEmulatorShell. r?ato
Attachment #8696968 -
Flags: review?(ato)
Assignee | ||
Updated•9 years ago
|
Attachment #8696365 -
Attachment is obsolete: true
Comment 4•9 years ago
|
||
Comment on attachment 8696968 [details] MozReview Request: Bug 1230847 - Use increasing value as id for runEmulatorCmd and runEmulatorShell. r?ato https://reviewboard.mozilla.org/r/27443/#review24755
Attachment #8696968 -
Flags: review?(ato) → review+
Comment 5•9 years ago
|
||
Please do a try run before integrating.
Assignee | ||
Comment 6•9 years ago
|
||
(In reply to Andreas Tolfsen (:ato) from comment #5) > Please do a try run before integrating. Sure, will do this. Thank you.
Assignee | ||
Comment 7•9 years ago
|
||
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2b3ee7757c49&exclusion_profile=false&group_state=expanded
Comment 9•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bfb273191c68
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
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
•