Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(465)

Issue 2573483003: [Cronet] Copy certificates before using in tests (Closed)

Created:
4 years ago by pauljensen
Modified:
4 years ago
Reviewers:
xunjieli
CC:
chromium-reviews, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Cronet] Copy certificates before using in tests If you try and run some tests by themselves they may fail because the certificate files have not been extracted from the APK assets. Make sure the files are extracted before use. Without this change some tests only pass because prior tests have already extracted the files. Tests should not be dependent on other tests. BUG=629299 R=xunjieli CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester Committed: https://crrev.com/baf304cf99d2c59cf56af685df7bf18091298370 Cr-Commit-Position: refs/heads/master@{#437918}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M components/cronet/android/test/src/org/chromium/net/QuicTestServer.java View 2 chunks +2 lines, -0 lines 2 comments Download

Messages

Total messages: 10 (4 generated)
pauljensen
Helen, PTAL, thank you!
4 years ago (2016-12-12 18:10:39 UTC) #2
xunjieli
https://codereview.chromium.org/2573483003/diff/1/components/cronet/android/test/src/org/chromium/net/QuicTestServer.java File components/cronet/android/test/src/org/chromium/net/QuicTestServer.java (right): https://codereview.chromium.org/2573483003/diff/1/components/cronet/android/test/src/org/chromium/net/QuicTestServer.java#newcode77 components/cronet/android/test/src/org/chromium/net/QuicTestServer.java:77: TestFilesInstaller.installIfNeeded(ContextUtils.getApplicationContext()); startQuicTestServer() already calls installIfNeeded(). Is it enough?
4 years ago (2016-12-12 19:37:21 UTC) #3
pauljensen
https://codereview.chromium.org/2573483003/diff/1/components/cronet/android/test/src/org/chromium/net/QuicTestServer.java File components/cronet/android/test/src/org/chromium/net/QuicTestServer.java (right): https://codereview.chromium.org/2573483003/diff/1/components/cronet/android/test/src/org/chromium/net/QuicTestServer.java#newcode77 components/cronet/android/test/src/org/chromium/net/QuicTestServer.java:77: TestFilesInstaller.installIfNeeded(ContextUtils.getApplicationContext()); On 2016/12/12 19:37:21, xunjieli wrote: > startQuicTestServer() already ...
4 years ago (2016-12-12 19:52:42 UTC) #4
xunjieli
lgtm
4 years ago (2016-12-12 20:05:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2573483003/1
4 years ago (2016-12-12 20:07:55 UTC) #7
commit-bot: I haz the power
4 years ago (2016-12-12 21:35:14 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/baf304cf99d2c59cf56af685df7bf18091298370
Cr-Commit-Position: refs/heads/master@{#437918}

Powered by Google App Engine
This is Rietveld 408576698