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

Issue 2227163002: Added integration test to Chrome Proxy to verify fallback to HTTP after bad HTTPS response from pro… (Closed)

Created:
4 years, 4 months ago by Robert Ogden
Modified:
4 years, 4 months ago
Reviewers:
sclittle, bustamante
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added integration test to Chrome Proxy to verify fallback to HTTP after bad HTTPS response from proxy. This checks that when the proxy responds with an error, in this case using the chromeproxy-test server which will give a 404 error on the request, the client will fallback to using a HTTP proxy instead. BUG=430206 Committed: https://crrev.com/820e88826d774eeb9b3f2e3eee9b79839ece7ce9 Cr-Commit-Position: refs/heads/master@{#412603}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Removed hard-coded cmd line args #

Patch Set 3 : Missing new line #

Total comments: 2

Patch Set 4 : Uses SyntheticStorySet instead now #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -0 lines) Patch
M tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py View 1 1 chunk +15 lines, -0 lines 0 comments Download
M tools/chrome_proxy/integration_tests/chrome_proxy_metrics.py View 1 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (14 generated)
Robert Ogden
Completed second test case. Please review :)
4 years, 4 months ago (2016-08-09 20:11:08 UTC) #3
sclittle
Sorry for going all meta here, but do we really need this test? IIRC, we ...
4 years, 4 months ago (2016-08-09 20:29:16 UTC) #4
bustamante
On 2016/08/09 20:29:16, sclittle wrote: > Sorry for going all meta here, but do we ...
4 years, 4 months ago (2016-08-09 20:42:08 UTC) #5
sclittle
On 2016/08/09 20:42:08, bustamante wrote: > On 2016/08/09 20:29:16, sclittle wrote: > > Sorry for ...
4 years, 4 months ago (2016-08-09 20:47:41 UTC) #6
bustamante
Looks good, I just have one comment. https://codereview.chromium.org/2227163002/diff/1/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py File tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py (right): https://codereview.chromium.org/2227163002/diff/1/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py#newcode197 tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py:197: 'https://%s;http://compress.googlezip.net' % ...
4 years, 4 months ago (2016-08-12 20:01:57 UTC) #11
Robert Ogden
Yes, the proxy url can be overridden via the command line with --extra-browser-args="--data-reduction-proxy-http-proxies=%s" https://codereview.chromium.org/2227163002/diff/1/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py File ...
4 years, 4 months ago (2016-08-15 17:13:14 UTC) #12
bustamante
On 2016/08/15 17:13:14, Robert Ogden wrote: > Yes, the proxy url can be overridden via ...
4 years, 4 months ago (2016-08-15 17:45:38 UTC) #13
Robert Ogden
updated to remove hardcoded proxy setting
4 years, 4 months ago (2016-08-15 17:49:03 UTC) #14
sclittle
lgtm % nit https://codereview.chromium.org/2227163002/diff/40001/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bad_https_fallback.py File tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bad_https_fallback.py (right): https://codereview.chromium.org/2227163002/diff/40001/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bad_https_fallback.py#newcode23 tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bad_https_fallback.py:23: 'http://check.googlezip.net/test.html' Instead of creating a whole ...
4 years, 4 months ago (2016-08-17 17:20:58 UTC) #15
Robert Ogden
sclittle@, is this what you meant? See Patch 4 https://codereview.chromium.org/2227163002/diff/40001/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bad_https_fallback.py File tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bad_https_fallback.py (right): https://codereview.chromium.org/2227163002/diff/40001/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bad_https_fallback.py#newcode23 tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/bad_https_fallback.py:23: ...
4 years, 4 months ago (2016-08-17 18:15:35 UTC) #18
sclittle
On 2016/08/17 18:15:35, Robert Ogden wrote: > sclittle@, is this what you meant? See Patch ...
4 years, 4 months ago (2016-08-17 18:24:54 UTC) #19
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/2227163002/60001
4 years, 4 months ago (2016-08-17 18:59:35 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-17 19:03:48 UTC) #26
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 19:05:50 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/820e88826d774eeb9b3f2e3eee9b79839ece7ce9
Cr-Commit-Position: refs/heads/master@{#412603}

Powered by Google App Engine
This is Rietveld 408576698