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

Issue 2826733002: Add Chrome version check decorators (Closed)

Created:
3 years, 8 months ago by Robert Ogden
Modified:
3 years, 7 months ago
Reviewers:
bengr, RyanSturm
CC:
chromium-reviews, tbansal+watch-data-reduction-proxy_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Chrome version check decorators Uses lazy loading to only get the version when needed, and uses a global variable (yuck) to store it for all future test runs. BUG=712688 Review-Url: https://codereview.chromium.org/2826733002 Cr-Commit-Position: refs/heads/master@{#466390} Committed: https://chromium.googlesource.com/chromium/src/+/9378ff37d394367870aec12cef1c9ee42633fe39

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -0 lines) Patch
M tools/chrome_proxy/webdriver/decorator_smoke.py View 2 chunks +11 lines, -0 lines 1 comment Download
M tools/chrome_proxy/webdriver/decorators.py View 2 chunks +45 lines, -0 lines 1 comment Download

Messages

Total messages: 21 (9 generated)
Robert Ogden
Ryan, please take a look. Thanks!
3 years, 8 months ago (2017-04-18 18:50:16 UTC) #2
RyanSturm
Adding bengr. I still think storing a frozen version of the integration test code once ...
3 years, 8 months ago (2017-04-18 18:53:14 UTC) #4
bengr
On 2017/04/18 18:53:14, Ryan Sturm wrote: > Adding bengr. I still think storing a frozen ...
3 years, 8 months ago (2017-04-20 00:46:14 UTC) #5
bustamante
On 2017/04/20 00:46:14, bengr wrote: > On 2017/04/18 18:53:14, Ryan Sturm wrote: > > Adding ...
3 years, 8 months ago (2017-04-20 18:22:35 UTC) #6
RyanSturm
lgtm if this is the best way to do it WRT infrastructure.
3 years, 8 months ago (2017-04-20 21:53:38 UTC) #7
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/2826733002/1
3 years, 8 months ago (2017-04-20 22:38:28 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/394414) win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 8 months ago (2017-04-20 22:41:23 UTC) #11
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/2826733002/1
3 years, 8 months ago (2017-04-21 03:55:27 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/394647)
3 years, 8 months ago (2017-04-21 04:03:16 UTC) #15
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/2826733002/1
3 years, 8 months ago (2017-04-21 17:59:18 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/9378ff37d394367870aec12cef1c9ee42633fe39
3 years, 8 months ago (2017-04-21 18:08:09 UTC) #20
bengr
3 years, 7 months ago (2017-05-05 17:53:29 UTC) #21
Message was sent while issue was closed.
Hmm, fwiw, I never published these nits.

https://codereview.chromium.org/2826733002/diff/1/tools/chrome_proxy/webdrive...
File tools/chrome_proxy/webdriver/decorator_smoke.py (right):

https://codereview.chromium.org/2826733002/diff/1/tools/chrome_proxy/webdrive...
tools/chrome_proxy/webdriver/decorator_smoke.py:24: @ChromeVersionBeforeM(0)
Hmm. Maybe call this ChromeMaximumMilestone or ChromeMaxMilestone?

https://codereview.chromium.org/2826733002/diff/1/tools/chrome_proxy/webdrive...
File tools/chrome_proxy/webdriver/decorators.py (right):

https://codereview.chromium.org/2826733002/diff/1/tools/chrome_proxy/webdrive...
tools/chrome_proxy/webdriver/decorators.py:83:
t.LoadURL('http://check.googlezip.net/connect')
Maybe use a standard gen_204 page, or just scrape chrome://version?

Powered by Google App Engine
This is Rietveld 408576698