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

Issue 1098253004: Move top_20 tests to a separate suite (Closed)

Created:
5 years, 8 months ago by bustamante1
Modified:
5 years, 7 months ago
Reviewers:
bengr, 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

Move top_20 tests to a separate suite We don't want run these tests on the continuous waterfall as they take a lot of time and can be flaky, but they're still valuable to ensure chrome_proxy works on the "Top 20" sites and can be run as needed. BUG=480032 Committed: https://crrev.com/84809a6eb565c1bc54abb25c261f94ed2b4b3c83 Cr-Commit-Position: refs/heads/master@{#328357}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Removing unused code / links to integration_tests #

Patch Set 3 : Removing Header validation tests #

Total comments: 4

Patch Set 4 : Move shared code out of integrations/live tests, move files around #

Patch Set 5 : Revert to old naming scheme for live/integration tests #

Total comments: 6

Patch Set 6 : Revert pagesets renaming, move ChromeProxyMetricException to common #

Patch Set 7 : Add live_tests/chrome_proxy_metrics.py #

Patch Set 8 : Fix unit tests #

Total comments: 6

Patch Set 9 : Update unit tests, move some tests to common #

Total comments: 2

Patch Set 10 : Use ChromeProxyValidation in common in integration_tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+612 lines, -826 lines) Patch
A + tools/chrome_proxy/common/__init__.py View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A tools/chrome_proxy/common/chrome_proxy_benchmark.py View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
A tools/chrome_proxy/common/chrome_proxy_measurements.py View 1 2 3 4 5 6 7 8 9 1 chunk +65 lines, -0 lines 0 comments Download
A tools/chrome_proxy/common/chrome_proxy_metrics.py View 1 2 3 4 5 1 chunk +89 lines, -0 lines 0 comments Download
A tools/chrome_proxy/common/chrome_proxy_metrics_unittest.py View 1 2 3 4 5 6 7 8 1 chunk +44 lines, -0 lines 0 comments Download
A + tools/chrome_proxy/common/network_metrics.py View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/chrome_proxy/common/network_metrics_unittest.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py View 1 2 3 4 5 2 chunks +2 lines, -96 lines 0 comments Download
M tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py View 1 2 3 4 5 6 7 8 9 16 chunks +37 lines, -72 lines 0 comments Download
D tools/chrome_proxy/integration_tests/chrome_proxy_metrics.py View 1 2 3 4 5 2 chunks +4 lines, -80 lines 0 comments Download
D tools/chrome_proxy/integration_tests/chrome_proxy_metrics_unittest.py View 1 2 3 4 5 6 7 8 24 chunks +25 lines, -80 lines 0 comments Download
D tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/data/chrome_proxy_top_20.json View 1 chunk +0 lines, -27 lines 0 comments Download
D tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/data/chrome_proxy_top_20_000.wpr.sha1 View 1 chunk +0 lines, -1 line 0 comments Download
D tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/top_20.py View 1 chunk +0 lines, -91 lines 0 comments Download
D tools/chrome_proxy/integration_tests/network_metrics.py View 1 2 3 1 chunk +0 lines, -207 lines 0 comments Download
D tools/chrome_proxy/integration_tests/network_metrics_unittest.py View 1 2 3 1 chunk +0 lines, -176 lines 0 comments Download
A + tools/chrome_proxy/live_tests/__init__.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A tools/chrome_proxy/live_tests/chrome_proxy_benchmark.py View 1 2 3 4 1 chunk +49 lines, -0 lines 0 comments Download
A tools/chrome_proxy/live_tests/chrome_proxy_measurements.py View 1 2 3 4 5 1 chunk +47 lines, -0 lines 0 comments Download
A tools/chrome_proxy/live_tests/chrome_proxy_metrics.py View 1 2 3 4 5 6 1 chunk +126 lines, -0 lines 0 comments Download
A tools/chrome_proxy/live_tests/chrome_proxy_metrics_unittest.py View 1 2 3 4 5 6 7 8 1 chunk +106 lines, -0 lines 0 comments Download
A + tools/chrome_proxy/live_tests/pagesets/__init__.py View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A + tools/chrome_proxy/live_tests/pagesets/data/chrome_proxy_top_20.json View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/chrome_proxy/live_tests/pagesets/data/chrome_proxy_top_20_000.wpr.sha1 View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/chrome_proxy/live_tests/pagesets/top_20.py View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/chrome_proxy/run_livetests View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (3 generated)
bustamante
Please take a look when you have a chance.
5 years, 8 months ago (2015-04-23 00:07:39 UTC) #3
sclittle
https://codereview.chromium.org/1098253004/diff/1/tools/chrome_proxy/live_tests/chrome_proxy_measurements.py File tools/chrome_proxy/live_tests/chrome_proxy_measurements.py (right): https://codereview.chromium.org/1098253004/diff/1/tools/chrome_proxy/live_tests/chrome_proxy_measurements.py#newcode9 tools/chrome_proxy/live_tests/chrome_proxy_measurements.py:9: from integration_tests import chrome_proxy_metrics as metrics IIUC you're actually ...
5 years, 8 months ago (2015-04-23 01:07:50 UTC) #4
bustamante
Thanks! I made changes based on the comments below. Regarding importing code from integration_tests, I ...
5 years, 8 months ago (2015-04-23 02:26:09 UTC) #5
sclittle
A lib directory or something sounds good; stuff like network_metrics.py could be shared between the ...
5 years, 8 months ago (2015-04-24 18:55:22 UTC) #6
bengr
On 2015/04/24 18:55:22, sclittle wrote: > A lib directory or something sounds good; stuff like ...
5 years, 7 months ago (2015-04-27 20:06:44 UTC) #7
bustamante
Thanks! More changes: - I initially renamed all the test files to remove chrome_proxy since ...
5 years, 7 months ago (2015-04-29 20:28:03 UTC) #8
sclittle
Could you separate the s/chrome_proxy_pagesets/pagesets/ renaming into a separate CL? That would make it easier ...
5 years, 7 months ago (2015-04-30 00:07:59 UTC) #9
bustamante
https://codereview.chromium.org/1098253004/diff/80001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py File tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py (right): https://codereview.chromium.org/1098253004/diff/80001/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py#newcode6 tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py:6: from integration_tests import pagesets as pagesets On 2015/04/30 00:07:58, ...
5 years, 7 months ago (2015-04-30 20:30:41 UTC) #10
sclittle
https://codereview.chromium.org/1098253004/diff/140001/tools/chrome_proxy/integration_tests/chrome_proxy_metrics_unittest.py File tools/chrome_proxy/integration_tests/chrome_proxy_metrics_unittest.py (right): https://codereview.chromium.org/1098253004/diff/140001/tools/chrome_proxy/integration_tests/chrome_proxy_metrics_unittest.py#newcode8 tools/chrome_proxy/integration_tests/chrome_proxy_metrics_unittest.py:8: from common import chrome_proxy_metrics as com_metrics nit: change to ...
5 years, 7 months ago (2015-05-01 23:05:39 UTC) #11
bustamante
Thanks! https://codereview.chromium.org/1098253004/diff/140001/tools/chrome_proxy/integration_tests/chrome_proxy_metrics_unittest.py File tools/chrome_proxy/integration_tests/chrome_proxy_metrics_unittest.py (right): https://codereview.chromium.org/1098253004/diff/140001/tools/chrome_proxy/integration_tests/chrome_proxy_metrics_unittest.py#newcode8 tools/chrome_proxy/integration_tests/chrome_proxy_metrics_unittest.py:8: from common import chrome_proxy_metrics as com_metrics On 2015/05/01 ...
5 years, 7 months ago (2015-05-01 23:54:11 UTC) #12
sclittle
LGTM
5 years, 7 months ago (2015-05-02 00:01:01 UTC) #13
sclittle
Sorry, just noticed this - it looks like this CL didn't modify integration_tests/chrome_proxy_measurements.py, but ChromeProxyValidation ...
5 years, 7 months ago (2015-05-02 00:29:21 UTC) #14
bustamante
Good catch, thanks! https://codereview.chromium.org/1098253004/diff/160001/tools/chrome_proxy/common/chrome_proxy_measurements.py File tools/chrome_proxy/common/chrome_proxy_measurements.py (right): https://codereview.chromium.org/1098253004/diff/160001/tools/chrome_proxy/common/chrome_proxy_measurements.py#newcode11 tools/chrome_proxy/common/chrome_proxy_measurements.py:11: class ChromeProxyValidation(page_test.PageTest): On 2015/05/02 00:29:21, sclittle ...
5 years, 7 months ago (2015-05-02 01:04:58 UTC) #15
sclittle
LGTM, thanks for doing this!
5 years, 7 months ago (2015-05-02 01:06:52 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1098253004/180001
5 years, 7 months ago (2015-05-05 17:20:52 UTC) #18
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 7 months ago (2015-05-05 18:13:37 UTC) #19
commit-bot: I haz the power
5 years, 7 months ago (2015-05-05 18:15:08 UTC) #20
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/84809a6eb565c1bc54abb25c261f94ed2b4b3c83
Cr-Commit-Position: refs/heads/master@{#328357}

Powered by Google App Engine
This is Rietveld 408576698