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

Issue 2844047: Modify power_LoadTest Extension to pull in test parameters. (Closed)

Created:
10 years, 5 months ago by Benson Leung
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, sosa+cc_chromium.org, seano, ericli, petkov+cc_chromium.org, seano+cc_chromium.org
Base URL:
ssh://gitrw.chromium.org/autotest.git
Visibility:
Public.

Description

Modify power_LoadTest Extension to pull in test parameters. Use a new content script to pull in the test parameters. BUG=chromium-os:12426, chromium-os:6944 TEST=run power_LoadTest with 5 minute duration, and also full 9 hour duration. Verify both work. Signed-off-by: Benson Leung <bleung@chromium.org>; Signed-off-by: Sameer Nanda <snanda@chromium.org>; Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=7bcd700

Patch Set 1 #

Patch Set 2 : Fix matching criteria to make it specific to localhost. #

Total comments: 5

Patch Set 3 : Removed orphan. #

Patch Set 4 : Fixed 80col. #

Total comments: 2

Patch Set 5 : Rebase after a while. #

Patch Set 6 : rebase again. #

Patch Set 7 : Cleanup #

Patch Set 8 : Extension debugging. #

Patch Set 9 : Rebase for Kernel Test Fixit #

Patch Set 10 : Cleanup manifest.json. Debugging included. #

Patch Set 11 : Updated param passing extension #

Patch Set 12 : Added click on button to start test. #

Patch Set 13 : Set 1 hour long test. #

Total comments: 15

Patch Set 14 : Address review feedback. #

Total comments: 2

Patch Set 15 : testparams.js long line #

Patch Set 16 : Updated README #

Patch Set 17 : self._testServer.stop() #

Patch Set 18 : Increase # loops to 11 (yay!) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -61 lines) Patch
M client/site_tests/power_LoadTest/README.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +6 lines, -0 lines 0 comments Download
M client/site_tests/power_LoadTest/control View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +3 lines, -7 lines 0 comments Download
M client/site_tests/power_LoadTest/extension.crx View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 chunks +-1 lines, --1 lines 0 comments Download
M client/site_tests/power_LoadTest/extension/background.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +55 lines, -16 lines 0 comments Download
M client/site_tests/power_LoadTest/extension/manifest.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +29 lines, -25 lines 0 comments Download
M client/site_tests/power_LoadTest/extension/params.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
A client/site_tests/power_LoadTest/extension/testparams.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +37 lines, -0 lines 0 comments Download
A client/site_tests/power_LoadTest/params.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +10 lines, -0 lines 0 comments Download
M client/site_tests/power_LoadTest/power_LoadTest.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +6 lines, -13 lines 0 comments Download
A client/site_tests/power_LoadTest/testparams.html View 1 2 3 4 5 6 7 8 9 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Sameer Nanda
LGTM w/ nits http://codereview.chromium.org/2844047/diff/2001/3003 File client/site_tests/power_LoadTest/extension/background.html (right): http://codereview.chromium.org/2844047/diff/2001/3003#newcode21 client/site_tests/power_LoadTest/extension/background.html:21: function dump() { orphan function? http://codereview.chromium.org/2844047/diff/2001/3005 ...
10 years, 5 months ago (2010-07-08 20:19:52 UTC) #1
Benson Leung
Fixed nits. http://codereview.chromium.org/2844047/diff/2001/3003 File client/site_tests/power_LoadTest/extension/background.html (right): http://codereview.chromium.org/2844047/diff/2001/3003#newcode21 client/site_tests/power_LoadTest/extension/background.html:21: function dump() { On 2010/07/08 20:19:52, sameer ...
10 years, 5 months ago (2010-07-08 20:54:32 UTC) #2
Sameer Nanda
LGTM. Thanks!
10 years, 5 months ago (2010-07-08 20:56:06 UTC) #3
DaleCurtis
Comment from quick once over, will detail more shortly. http://codereview.chromium.org/2844047/diff/2001/3003 File client/site_tests/power_LoadTest/extension/background.html (right): http://codereview.chromium.org/2844047/diff/2001/3003#newcode36 client/site_tests/power_LoadTest/extension/background.html:36: ...
10 years, 5 months ago (2010-07-08 21:01:26 UTC) #4
DaleCurtis
These two are up to you. I think you can lose some code if you ...
10 years, 5 months ago (2010-07-08 21:26:47 UTC) #5
Benson Leung
Hi Sameer, PTAL.
9 years, 9 months ago (2011-02-28 08:07:36 UTC) #6
Sameer Nanda
Also had a chat offline with Benson regarding passing the parameters from test to the ...
9 years, 9 months ago (2011-02-28 22:11:34 UTC) #7
Benson Leung
Fixed write params too from power_LoadTest.py. http://codereview.chromium.org/2844047/diff/42010/client/site_tests/power_LoadTest/control File client/site_tests/power_LoadTest/control (right): http://codereview.chromium.org/2844047/diff/42010/client/site_tests/power_LoadTest/control#newcode28 client/site_tests/power_LoadTest/control:28: # TODO (bleung): ...
9 years, 9 months ago (2011-03-01 02:16:19 UTC) #8
DaleCurtis
Good stuff. LGTM. On 2011/03/01 02:16:19, Benson Leung wrote: > Fixed write params too from ...
9 years, 9 months ago (2011-03-01 02:38:00 UTC) #9
DaleCurtis
http://codereview.chromium.org/2844047/diff/49001/client/site_tests/power_LoadTest/power_LoadTest.py File client/site_tests/power_LoadTest/power_LoadTest.py (right): http://codereview.chromium.org/2844047/diff/49001/client/site_tests/power_LoadTest/power_LoadTest.py#newcode228 client/site_tests/power_LoadTest/power_LoadTest.py:228: def cleanup(self): While looking at another test I realized ...
9 years, 9 months ago (2011-03-01 18:43:20 UTC) #10
Sameer Nanda
LTGM! Mind updating README.txt with a short blurb about how to manually start the test ...
9 years, 9 months ago (2011-03-01 19:54:06 UTC) #11
Benson Leung
Readme updated. Addressed review feedback. I've also filed this bug for a future enhancement : ...
9 years, 9 months ago (2011-03-03 04:47:25 UTC) #12
Benson Leung
9 years, 9 months ago (2011-03-04 07:00:30 UTC) #13
Also increasing to 11 loops instead of 9.

Powered by Google App Engine
This is Rietveld 408576698