|
|
Created:
4 years, 5 months ago by leonhsl(Using Gerrit) Modified:
4 years, 5 months ago CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, yusukes+watch_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionUse spin runloop instead of WaitForIncomingMethodCall() for test codes.
This CL replaces usage of Binding::WaitForIncomingMethodCall() with
a spin runloop waiting for incoming call or a connection error.
Affected test codes are within:
components/arc/
services/shell/
BUG=622438
Committed: https://crrev.com/6d3b0b6a6d105068e79dd14e2d37dea2de2a7500
Cr-Commit-Position: refs/heads/master@{#407029}
Patch Set 1 #Patch Set 2 : Fix trybots #Patch Set 3 : Rebase only #
Messages
Total messages: 27 (15 generated)
The CQ bit was checked by leon.han@intel.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
The CQ bit was checked by leon.han@intel.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
leon.han@intel.com changed reviewers: + lhchavez@chromium.org, rockot@chromium.org, yzshen@chromium.org
This CL changes all the test codes calling WaitForIncomingMethodCall, would you PTAL? Thanks. lhchavez@ : For OWNER review of components/arc/. Ken : For OWNER review of services/shell/ and overall review. Yuzhu : For overall review. As for production code using WaitForIncomingMethodCall, I think maybe we need to change some logic of those mojo interfaces according different situations, so I'd like to dip down and handle them with follow-up CL.
On 2016/07/11 13:07:03, leonhsl wrote: > This CL changes all the test codes calling WaitForIncomingMethodCall, would you > PTAL? Thanks. > > lhchavez@ : For OWNER review of components/arc/. > Ken : For OWNER review of services/shell/ and overall review. > Yuzhu : For overall review. > > As for production code using WaitForIncomingMethodCall, I think maybe we need to > change some logic of those mojo interfaces according different situations, so > I'd like to dip down and handle them with follow-up CL. Oh I was just about to totally remove the WaitForIncomingMethodCall requirement in tests with https://codereview.chromium.org/2138513002/ Is it possible that you wait until that change lands? It'll make things easier for everybody.
On 2016/07/11 14:48:03, Luis Héctor Chávez wrote: > On 2016/07/11 13:07:03, leonhsl wrote: > > This CL changes all the test codes calling WaitForIncomingMethodCall, would > you > > PTAL? Thanks. > > > > lhchavez@ : For OWNER review of components/arc/. > > Ken : For OWNER review of services/shell/ and overall review. > > Yuzhu : For overall review. > > > > As for production code using WaitForIncomingMethodCall, I think maybe we need > to > > change some logic of those mojo interfaces according different situations, so > > I'd like to dip down and handle them with follow-up CL. > > Oh I was just about to totally remove the WaitForIncomingMethodCall requirement > in tests with https://codereview.chromium.org/2138513002/ > > Is it possible that you wait until that change lands? It'll make things easier > for everybody. OK, got it, Thanks for sharing the information. I'll revisit later.
On 2016/07/12 01:23:50, leonhsl wrote: > On 2016/07/11 14:48:03, Luis Héctor Chávez wrote: > > On 2016/07/11 13:07:03, leonhsl wrote: > > > This CL changes all the test codes calling WaitForIncomingMethodCall, would > > you > > > PTAL? Thanks. > > > > > > lhchavez@ : For OWNER review of components/arc/. > > > Ken : For OWNER review of services/shell/ and overall review. > > > Yuzhu : For overall review. > > > > > > As for production code using WaitForIncomingMethodCall, I think maybe we > need > > to > > > change some logic of those mojo interfaces according different situations, > so > > > I'd like to dip down and handle them with follow-up CL. > > > > Oh I was just about to totally remove the WaitForIncomingMethodCall > requirement > > in tests with https://codereview.chromium.org/2138513002/ > > > > Is it possible that you wait until that change lands? It'll make things easier > > for everybody. > > OK, got it, Thanks for sharing the information. I'll revisit later. that other change has just landed.
The CQ bit was checked by leon.han@intel.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Uploaded ps#3 to rebase, PTAnL, Thanks.
LGTM
components/arc LGTM thanks for waiting!
Hi, Ken, would you PTAL for OWNER review of services/shell/ ? Thanks~
lgtm
The CQ bit was checked by leon.han@intel.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== Use spin runloop instead of WaitForIncomingMethodCall() for test codes. This CL replaces usage of Binding::WaitForIncomingMethodCall() with a spin runloop waiting for incoming call or a connection error. Affected test codes are within: components/arc/ services/shell/ BUG=622438 ========== to ========== Use spin runloop instead of WaitForIncomingMethodCall() for test codes. This CL replaces usage of Binding::WaitForIncomingMethodCall() with a spin runloop waiting for incoming call or a connection error. Affected test codes are within: components/arc/ services/shell/ BUG=622438 Committed: https://crrev.com/6d3b0b6a6d105068e79dd14e2d37dea2de2a7500 Cr-Commit-Position: refs/heads/master@{#407029} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/6d3b0b6a6d105068e79dd14e2d37dea2de2a7500 Cr-Commit-Position: refs/heads/master@{#407029} |