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

Issue 862803004: Restart browser between smoke tests, fixes failing webview bypass test. (Closed)

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

Description

Restart browser between smoke tests, fixes failing webview bypass test. The bypass smoke test uses an existing browser session, where the favicon requewst has already been made and completed through the data saver proxy. When the favicon is requested again during the bypass test, it will still appear to come through the proxy causing the case to fail. If instead we use a fresh browser session, bypass works as expected for the favicon. In general, it's good practice to make tests as atomic as possible, so this should be better design for the smoke tests (although it adds ~12 seconds to the total execution time). BUG=452161 Committed: https://crrev.com/52dc983774bcd3262472f025d0429e10799c3f80 Cr-Commit-Position: refs/heads/master@{#313153}

Patch Set 1 #

Patch Set 2 : Adding whitespace back #

Total comments: 2

Patch Set 3 : Setting browser restart flag in chrome_proxy_measurements.py #

Patch Set 4 : Removing extra whitespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M tools/chrome_proxy/integration_tests/chrome_proxy_measurements.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/smoke.py View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
sclittle
https://codereview.chromium.org/862803004/diff/20001/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/smoke.py File tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/smoke.py (right): https://codereview.chromium.org/862803004/diff/20001/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/smoke.py#newcode14 tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/smoke.py:14: self.restart_after = True Could you specify this in chrome_proxy_measurements.py ...
5 years, 11 months ago (2015-01-26 21:08:17 UTC) #2
bustamante
This should fix the failing smoke tests on Webview waterfall, please take a look when ...
5 years, 11 months ago (2015-01-26 21:08:21 UTC) #3
bustamante
On 2015/01/26 21:08:17, sclittle wrote: > https://codereview.chromium.org/862803004/diff/20001/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/smoke.py > File tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/smoke.py > (right): > > https://codereview.chromium.org/862803004/diff/20001/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/smoke.py#newcode14 ...
5 years, 11 months ago (2015-01-26 21:26:43 UTC) #4
sclittle
LGTM
5 years, 11 months ago (2015-01-26 21:29:14 UTC) #5
bengr
lgtm https://codereview.chromium.org/862803004/diff/20001/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/smoke.py File tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/smoke.py (right): https://codereview.chromium.org/862803004/diff/20001/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/smoke.py#newcode14 tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/smoke.py:14: self.restart_after = True On 2015/01/26 21:08:17, sclittle wrote: ...
5 years, 11 months ago (2015-01-26 21:40:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/862803004/60001
5 years, 11 months ago (2015-01-26 21:42:53 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 11 months ago (2015-01-26 22:31:35 UTC) #9
commit-bot: I haz the power
5 years, 11 months ago (2015-01-26 22:32:15 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/52dc983774bcd3262472f025d0429e10799c3f80
Cr-Commit-Position: refs/heads/master@{#313153}

Powered by Google App Engine
This is Rietveld 408576698