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

Issue 820093002: Integration tests for desktop platforms and safebrowsing (Closed)

Created:
6 years ago by Not at Google. Contact bengr
Modified:
5 years, 11 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Integration tests for desktop platforms and safebrowsing. Fix timeout check: If _expect_timeout flag is set, and timeout does not occur, then raise an exception. Add new test for safebrowsing for desktop: Confirm that safebrowsing is turned off on server when ChromeProxy header identifies request as originating from desktop platforms with c=<clienttype>. Fix safebrowsing test for mobile: Remove checks for safebrowsing response headers since it is not visible to telemetry tests. BUG=434769 Committed: https://crrev.com/58ee32e05d510fff9190c5f05fc9b0ea0df31ac1 Cr-Commit-Position: refs/heads/master@{#313098}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed code review comments. #

Total comments: 10

Patch Set 3 : Addressed code review comments #

Patch Set 4 : Fixed merge #

Patch Set 5 : whitespace. #

Total comments: 18

Patch Set 6 : Removed redundant variables. #

Total comments: 13

Patch Set 7 : Generic platform independent test names #

Total comments: 6

Patch Set 8 : Sync to head #

Patch Set 9 : Changed tags #

Patch Set 10 : Sync to head #

Total comments: 4

Patch Set 11 : Fixed test names. Add @classmethod. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -69 lines) Patch
M tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py View 1 2 3 4 5 6 7 8 9 10 19 chunks +15 lines, -23 lines 0 comments Download
M tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py View 1 2 3 4 5 6 4 chunks +15 lines, -7 lines 0 comments Download
M tools/chrome_proxy/integration_tests/chrome_proxy_metrics.py View 1 2 3 4 5 6 2 chunks +16 lines, -22 lines 0 comments Download
M tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/client_type.py View 1 2 3 4 5 6 1 chunk +18 lines, -0 lines 0 comments Download
M tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/smoke.py View 2 chunks +0 lines, -17 lines 0 comments Download

Messages

Total messages: 25 (2 generated)
Not at Google. Contact bengr
6 years ago (2014-12-23 21:36:02 UTC) #2
sclittle
https://codereview.chromium.org/820093002/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/820093002/diff/1/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py#newcode384 tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py:384: if page.name == 'safebrowsingmobile': You should remove this if ...
5 years, 11 months ago (2014-12-29 18:51:36 UTC) #3
Not at Google. Contact bengr
https://codereview.chromium.org/820093002/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/820093002/diff/1/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py#newcode384 tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py:384: if page.name == 'safebrowsingmobile': On 2014/12/29 18:51:35, sclittle wrote: ...
5 years, 11 months ago (2015-01-22 21:27:16 UTC) #4
sclittle
https://codereview.chromium.org/820093002/diff/20001/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py File tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py (right): https://codereview.chromium.org/820093002/diff/20001/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py#newcode163 tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py:163: self._expect_timeout = True The AddResultsForSafebrowsingDesktop method in metrics seems ...
5 years, 11 months ago (2015-01-22 23:15:14 UTC) #5
Not at Google. Contact bengr
https://codereview.chromium.org/820093002/diff/20001/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py File tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py (right): https://codereview.chromium.org/820093002/diff/20001/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py#newcode163 tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py:163: self._expect_timeout = True On 2015/01/22 23:15:14, sclittle wrote: > ...
5 years, 11 months ago (2015-01-23 17:11:34 UTC) #6
sclittle
Sorry in advance about leaving so many comments on the old safebrowsing test. https://codereview.chromium.org/820093002/diff/80001/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py File ...
5 years, 11 months ago (2015-01-23 19:01:58 UTC) #7
Not at Google. Contact bengr
https://codereview.chromium.org/820093002/diff/80001/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py File tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py (right): https://codereview.chromium.org/820093002/diff/80001/tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py#newcode163 tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py:163: self._expect_timeout = False On 2015/01/23 19:01:57, sclittle wrote: > ...
5 years, 11 months ago (2015-01-23 20:02:47 UTC) #8
sclittle
LGTM with a couple nits https://codereview.chromium.org/820093002/diff/100001/tools/chrome_proxy/integration_tests/chrome_proxy_metrics.py File tools/chrome_proxy/integration_tests/chrome_proxy_metrics.py (right): https://codereview.chromium.org/820093002/diff/100001/tools/chrome_proxy/integration_tests/chrome_proxy_metrics.py#newcode286 tools/chrome_proxy/integration_tests/chrome_proxy_metrics.py:286: 'Safebrowsing failed: No valid ...
5 years, 11 months ago (2015-01-23 20:06:47 UTC) #9
bengr
Let's agree on a naming strategy and then I'll approve. https://codereview.chromium.org/820093002/diff/100001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py File tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py (right): https://codereview.chromium.org/820093002/diff/100001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py#newcode91 ...
5 years, 11 months ago (2015-01-23 20:18:19 UTC) #10
sclittle
https://codereview.chromium.org/820093002/diff/100001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py File tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py (right): https://codereview.chromium.org/820093002/diff/100001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py#newcode91 tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py:91: @benchmark.Enabled('android') On 2015/01/23 20:18:19, bengr wrote: > sclittle: Which ...
5 years, 11 months ago (2015-01-23 22:28:31 UTC) #11
Not at Google. Contact bengr
https://codereview.chromium.org/820093002/diff/100001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py File tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py (right): https://codereview.chromium.org/820093002/diff/100001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py#newcode91 tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py:91: @benchmark.Enabled('android') On 2015/01/23 20:18:19, bengr wrote: > sclittle: Which ...
5 years, 11 months ago (2015-01-23 22:56:00 UTC) #12
sclittle
https://codereview.chromium.org/820093002/diff/120001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py File tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py (right): https://codereview.chromium.org/820093002/diff/120001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py#newcode93 tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py:93: class ChromeProxySafeBrowsingOn(benchmark.Benchmark): Why not "enabled" like the tag below? ...
5 years, 11 months ago (2015-01-23 22:59:41 UTC) #13
Not at Google. Contact bengr
https://codereview.chromium.org/820093002/diff/120001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py File tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py (right): https://codereview.chromium.org/820093002/diff/120001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py#newcode93 tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py:93: class ChromeProxySafeBrowsingOn(benchmark.Benchmark): On 2015/01/23 22:59:41, sclittle wrote: > Why ...
5 years, 11 months ago (2015-01-23 23:03:28 UTC) #14
sclittle
https://codereview.chromium.org/820093002/diff/120001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py File tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py (right): https://codereview.chromium.org/820093002/diff/120001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py#newcode100 tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py:100: class ChromeProxySafeBrowsingOff(benchmark.Benchmark): On 2015/01/23 23:03:28, kundaji wrote: > On ...
5 years, 11 months ago (2015-01-23 23:10:34 UTC) #15
Not at Google. Contact bengr
https://codereview.chromium.org/820093002/diff/120001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py File tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py (right): https://codereview.chromium.org/820093002/diff/120001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py#newcode100 tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py:100: class ChromeProxySafeBrowsingOff(benchmark.Benchmark): On 2015/01/23 23:10:34, sclittle wrote: > On ...
5 years, 11 months ago (2015-01-23 23:16:26 UTC) #16
bengr
lgtm. Please add more detail to the CL description. Include what had to change to ...
5 years, 11 months ago (2015-01-26 18:17:51 UTC) #17
sclittle
https://codereview.chromium.org/820093002/diff/180001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py File tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py (right): https://codereview.chromium.org/820093002/diff/180001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py#newcode157 tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py:157: return 'chrome_proxy_benchmark.safebrowsing.safebrowsing' This should be 'safebrowsing_on' https://codereview.chromium.org/820093002/diff/180001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py#newcode165 tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py:165: page_set ...
5 years, 11 months ago (2015-01-26 18:21:39 UTC) #18
Not at Google. Contact bengr
https://codereview.chromium.org/820093002/diff/180001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py File tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py (right): https://codereview.chromium.org/820093002/diff/180001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py#newcode157 tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py:157: return 'chrome_proxy_benchmark.safebrowsing.safebrowsing' On 2015/01/26 18:21:38, sclittle wrote: > This ...
5 years, 11 months ago (2015-01-26 18:43:01 UTC) #19
Not at Google. Contact bengr
On 2015/01/26 18:17:51, bengr wrote: > lgtm. Please add more detail to the CL description. ...
5 years, 11 months ago (2015-01-26 18:44:02 UTC) #20
sclittle
On 2015/01/26 18:44:02, kundaji wrote: > On 2015/01/26 18:17:51, bengr wrote: > > lgtm. Please ...
5 years, 11 months ago (2015-01-26 18:44:42 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/820093002/200001
5 years, 11 months ago (2015-01-26 19:12:43 UTC) #23
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 11 months ago (2015-01-26 19:24:59 UTC) #24
commit-bot: I haz the power
5 years, 11 months ago (2015-01-26 19:26:15 UTC) #25
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/58ee32e05d510fff9190c5f05fc9b0ea0df31ac1
Cr-Commit-Position: refs/heads/master@{#313098}

Powered by Google App Engine
This is Rietveld 408576698