|
|
Chromium Code Reviews|
Created:
3 years, 5 months ago by mmenke Modified:
3 years, 5 months ago Reviewers:
pauljensen CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org Target Ref:
refs/heads/master Project:
chromium Visibility:
Public. |
DescriptionFix Cronet tests.
These were broken when URLRequestContextBuilder was switched over to
using task_scheduler by default in
https://codereview.chromium.org/2951813002/.
The fix is to instantiate a base::test::ScopedTaskEnvironment instead
of a MessageLoopForIO.
BUG=715695, 737326
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester
Review-Url: https://codereview.chromium.org/2963643002
Cr-Commit-Position: refs/heads/master@{#482965}
Committed: https://chromium.googlesource.com/chromium/src/+/51629db1e4abd11d33150d7fc0a2207c0fc5cd9c
Patch Set 1 #Patch Set 2 : Oops #
Total comments: 2
Patch Set 3 : Merge, fix formatting #
Messages
Total messages: 34 (24 generated)
Description was changed from ========== Fix Cronet tests. These were broken when URLRequestContextBuilder was switched over to using task_scheduler by default in https://codereview.chromium.org/2951813002/. BUG=715695 ========== to ========== Fix Cronet tests. These were broken when URLRequestContextBuilder was switched over to using task_scheduler by default in https://codereview.chromium.org/2951813002/. BUG=715695 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester ==========
The CQ bit was checked by mmenke@chromium.org 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...
mmenke@chromium.org changed reviewers: + pauljensen@chromium.org
I'm breaking Cronet in all sorts of fun and exciting ways! Haven't tested this yet, just sending it out now to make it clear I'm intending to fix it.
Description was changed from ========== Fix Cronet tests. These were broken when URLRequestContextBuilder was switched over to using task_scheduler by default in https://codereview.chromium.org/2951813002/. BUG=715695 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester ========== to ========== Fix Cronet tests. These were broken when URLRequestContextBuilder was switched over to using task_scheduler by default in https://codereview.chromium.org/2951813002/. The fix is to instantiate a base::test::ScopedTaskEnvironment instead of a MessageLoopForIO. BUG=715695 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester ==========
Description was changed from ========== Fix Cronet tests. These were broken when URLRequestContextBuilder was switched over to using task_scheduler by default in https://codereview.chromium.org/2951813002/. The fix is to instantiate a base::test::ScopedTaskEnvironment instead of a MessageLoopForIO. BUG=715695 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester ========== to ========== Fix Cronet tests. These were broken when URLRequestContextBuilder was switched over to using task_scheduler by default in https://codereview.chromium.org/2951813002/. The fix is to instantiate a base::test::ScopedTaskEnvironment instead of a MessageLoopForIO. BUG=715695 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...)
The CQ bit was checked by mmenke@chromium.org 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: ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
The CQ bit was checked by mmenke@chromium.org 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...
https://codereview.chromium.org/2963643002/diff/20001/components/cronet/stale... File components/cronet/stale_host_resolver_unittest.cc (right): https://codereview.chromium.org/2963643002/diff/20001/components/cronet/stale... components/cronet/stale_host_resolver_unittest.cc:87: mock_proc_(new MockHostResolverProc()), resolver_(nullptr), This indentation is wacky...I guess the formater has a bug...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
On 2017/06/27 22:50:11, pauljensen wrote: > https://codereview.chromium.org/2963643002/diff/20001/components/cronet/stale... > File components/cronet/stale_host_resolver_unittest.cc (right): > > https://codereview.chromium.org/2963643002/diff/20001/components/cronet/stale... > components/cronet/stale_host_resolver_unittest.cc:87: mock_proc_(new > MockHostResolverProc()), resolver_(nullptr), > This indentation is wacky...I guess the formater has a bug... Or maybe I forgot to run it - git cl format with no args seems to ignore cronet, and I was skipping presubmit, since we have magic Android presubmit checks that are borked on Windows.
On 2017/06/27 22:50:11, pauljensen wrote: > https://codereview.chromium.org/2963643002/diff/20001/components/cronet/stale... > File components/cronet/stale_host_resolver_unittest.cc (right): > > https://codereview.chromium.org/2963643002/diff/20001/components/cronet/stale... > components/cronet/stale_host_resolver_unittest.cc:87: mock_proc_(new > MockHostResolverProc()), resolver_(nullptr), > This indentation is wacky...I guess the formater has a bug... Or maybe I forgot to run it - git cl format with no args seems to ignore cronet, and I was skipping presubmit, since we have magic Android presubmit checks that are borked on Windows.
On 2017/06/27 23:16:43, mmenke wrote: > On 2017/06/27 22:50:11, pauljensen wrote: > > > https://codereview.chromium.org/2963643002/diff/20001/components/cronet/stale... > > File components/cronet/stale_host_resolver_unittest.cc (right): > > > > > https://codereview.chromium.org/2963643002/diff/20001/components/cronet/stale... > > components/cronet/stale_host_resolver_unittest.cc:87: mock_proc_(new > > MockHostResolverProc()), resolver_(nullptr), > > This indentation is wacky...I guess the formater has a bug... > > Or maybe I forgot to run it - git cl format with no args seems to ignore cronet, > and I was skipping presubmit, since we have magic Android presubmit checks that > are borked on Windows. I'll plan to clean up and land tomorrow.
Description was changed from ========== Fix Cronet tests. These were broken when URLRequestContextBuilder was switched over to using task_scheduler by default in https://codereview.chromium.org/2951813002/. The fix is to instantiate a base::test::ScopedTaskEnvironment instead of a MessageLoopForIO. BUG=715695 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester ========== to ========== Fix Cronet tests. These were broken when URLRequestContextBuilder was switched over to using task_scheduler by default in https://codereview.chromium.org/2951813002/. The fix is to instantiate a base::test::ScopedTaskEnvironment instead of a MessageLoopForIO. BUG=715695,737326 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester ==========
Merge, fix formatting
The CQ bit was checked by mmenke@chromium.org 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...
https://codereview.chromium.org/2963643002/diff/20001/components/cronet/stale... File components/cronet/stale_host_resolver_unittest.cc (right): https://codereview.chromium.org/2963643002/diff/20001/components/cronet/stale... components/cronet/stale_host_resolver_unittest.cc:87: mock_proc_(new MockHostResolverProc()), resolver_(nullptr), On 2017/06/27 22:50:11, pauljensen wrote: > This indentation is wacky...I guess the formater has a bug... Done. Also merged and re-enabled tests.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by pauljensen@chromium.org
lgtm
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 40001, "attempt_start_ts": 1498656523031140,
"parent_rev": "834321a24d546bfcb0ab4a2606c5e30cfa0ab7e2", "commit_rev":
"51629db1e4abd11d33150d7fc0a2207c0fc5cd9c"}
Message was sent while issue was closed.
Description was changed from ========== Fix Cronet tests. These were broken when URLRequestContextBuilder was switched over to using task_scheduler by default in https://codereview.chromium.org/2951813002/. The fix is to instantiate a base::test::ScopedTaskEnvironment instead of a MessageLoopForIO. BUG=715695,737326 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester ========== to ========== Fix Cronet tests. These were broken when URLRequestContextBuilder was switched over to using task_scheduler by default in https://codereview.chromium.org/2951813002/. The fix is to instantiate a base::test::ScopedTaskEnvironment instead of a MessageLoopForIO. BUG=715695,737326 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester Review-Url: https://codereview.chromium.org/2963643002 Cr-Commit-Position: refs/heads/master@{#482965} Committed: https://chromium.googlesource.com/chromium/src/+/51629db1e4abd11d33150d7fc0a2... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/51629db1e4abd11d33150d7fc0a2... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
