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

Issue 10834239: Configuration file for Chrome perf and endure tests. (Closed)

Created:
8 years, 4 months ago by fdeng1
Modified:
8 years, 4 months ago
CC:
chromium-reviews, dennis_jeffrey, anantha, dyu1, Nirnimesh
Visibility:
Public.

Description

Configuration file for Chrome perf and endure tests. Make perf.py and perf_endure.py accept a configuration file in which users can specify custom google account credentials and google account url. They can also specify custom urls for google webapps(Gmail/Docs/Plus). BUG=None TEST=Ran perf_endure.py, perf.py with and without configuration file. NOTRY=True Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152224

Patch Set 1 : #

Total comments: 13

Patch Set 2 : Configuration work for both perf.py and perf_endure.py #

Total comments: 26

Patch Set 3 : Address comments #

Total comments: 34

Patch Set 4 : Address Dennis comments #

Total comments: 8

Patch Set 5 : Address Dennis Comments #

Patch Set 6 : merge with original/master #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -17 lines) Patch
A chrome/test/functional/perf.cfg View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/test/functional/perf.py View 1 2 3 4 5 1 chunk +60 lines, -5 lines 4 comments Download
M chrome/test/functional/perf_endure.py View 1 2 3 4 5 6 chunks +33 lines, -10 lines 1 comment Download
M chrome/test/functional/test_utils.py View 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
fdeng1
Hi Dennis, Nirnimesh, Here is an idea of making chrome endure tests use credentials and ...
8 years, 4 months ago (2012-08-09 04:01:58 UTC) #1
dennis_jeffrey
https://chromiumcodereview.appspot.com/10834239/diff/2001/chrome/test/functional/endure_config.txt File chrome/test/functional/endure_config.txt (right): https://chromiumcodereview.appspot.com/10834239/diff/2001/chrome/test/functional/endure_config.txt#newcode1 chrome/test/functional/endure_config.txt:1: # Configuration file for Chrome Endure tests. eventually it ...
8 years, 4 months ago (2012-08-09 17:29:03 UTC) #2
fdeng1
https://chromiumcodereview.appspot.com/10834239/diff/2001/chrome/test/functional/endure_config.txt File chrome/test/functional/endure_config.txt (right): https://chromiumcodereview.appspot.com/10834239/diff/2001/chrome/test/functional/endure_config.txt#newcode1 chrome/test/functional/endure_config.txt:1: # Configuration file for Chrome Endure tests. I tried ...
8 years, 4 months ago (2012-08-11 00:11:27 UTC) #3
dennisjeffrey
On Fri, Aug 10, 2012 at 5:11 PM, <fdeng@chromium.org> wrote: > > https://chromiumcodereview.**appspot.com/10834239/diff/** > 2001/chrome/test/functional/**endure_config.txt<https://chromiumcodereview.appspot.com/10834239/diff/2001/chrome/test/functional/endure_config.txt> ...
8 years, 4 months ago (2012-08-15 01:21:13 UTC) #4
dennis_jeffrey
Cool! Some more comments. https://chromiumcodereview.appspot.com/10834239/diff/4002/chrome/test/functional/perf.cfg File chrome/test/functional/perf.cfg (right): https://chromiumcodereview.appspot.com/10834239/diff/4002/chrome/test/functional/perf.cfg#newcode2 chrome/test/functional/perf.cfg:2: # This file is used ...
8 years, 4 months ago (2012-08-15 01:21:16 UTC) #5
fdeng1
Hi Dennis, Thanks for the comments. I address them. Please take a look. And I ...
8 years, 4 months ago (2012-08-16 17:42:49 UTC) #6
dennis_jeffrey
Thanks! Some more nits, and answers to your two questions. https://chromiumcodereview.appspot.com/10834239/diff/6002/chrome/test/functional/perf.cfg File chrome/test/functional/perf.cfg (right): https://chromiumcodereview.appspot.com/10834239/diff/6002/chrome/test/functional/perf.cfg#newcode1 ...
8 years, 4 months ago (2012-08-16 18:49:58 UTC) #7
fdeng1
https://chromiumcodereview.appspot.com/10834239/diff/6002/chrome/test/functional/perf.cfg File chrome/test/functional/perf.cfg (right): https://chromiumcodereview.appspot.com/10834239/diff/6002/chrome/test/functional/perf.cfg#newcode1 chrome/test/functional/perf.cfg:1: # Configuration file for pyauto perf tests. On 2012/08/16 ...
8 years, 4 months ago (2012-08-17 06:39:34 UTC) #8
dennis_jeffrey
Few more nits. https://chromiumcodereview.appspot.com/10834239/diff/6002/chrome/test/functional/perf.py File chrome/test/functional/perf.py (right): https://chromiumcodereview.appspot.com/10834239/diff/6002/chrome/test/functional/perf.py#newcode610 chrome/test/functional/perf.py:610: 'gmail_url': 'https://www.gmail.com', On 2012/08/17 06:39:34, fdeng1 ...
8 years, 4 months ago (2012-08-17 17:35:44 UTC) #9
fdeng1
Hi Dennis, Your comments are addressed. The last patch is just a merge with origin/master ...
8 years, 4 months ago (2012-08-17 23:19:37 UTC) #10
dennis_jeffrey
LGTM Before submitting, make sure the added file in this CL passes the check_perms script.
8 years, 4 months ago (2012-08-17 23:25:33 UTC) #11
fdeng
Thanks for the reminder, I'll run the check_perms first. Fang On Fri, Aug 17, 2012 ...
8 years, 4 months ago (2012-08-17 23:46:14 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fdeng@chromium.org/10834239/6005
8 years, 4 months ago (2012-08-18 00:50:24 UTC) #13
commit-bot: I haz the power
Change committed as 152224
8 years, 4 months ago (2012-08-18 02:26:47 UTC) #14
Nirnimesh
8 years, 4 months ago (2012-08-21 00:54:43 UTC) #15
https://chromiumcodereview.appspot.com/10834239/diff/6005/chrome/test/functio...
File chrome/test/functional/perf.py (right):

https://chromiumcodereview.appspot.com/10834239/diff/6005/chrome/test/functio...
chrome/test/functional/perf.py:616: for key in new_config:
this whole block is equivalent to:

config.update(new_config)

https://chromiumcodereview.appspot.com/10834239/diff/6005/chrome/test/functio...
chrome/test/functional/perf.py:617: if new_config.get(key) is not None:
'is not None' is redundant

https://chromiumcodereview.appspot.com/10834239/diff/6005/chrome/test/functio...
chrome/test/functional/perf.py:640: config_file =
os.path.join(os.path.dirname(__file__), 'perf.cfg')
this var is used in several locations. Make it a private var in this class.

https://chromiumcodereview.appspot.com/10834239/diff/6005/chrome/test/functio...
chrome/test/functional/perf.py:648: os.path.join(os.path.dirname(__file__),
'perf.cfg'))
use the var

https://chromiumcodereview.appspot.com/10834239/diff/6005/chrome/test/functio...
File chrome/test/functional/perf_endure.py (right):

https://chromiumcodereview.appspot.com/10834239/diff/6005/chrome/test/functio...
chrome/test/functional/perf_endure.py:605: timeout=60, expect_retval=True,
retry_sleep=1),
why are you overriding the timeout?

Powered by Google App Engine
This is Rietveld 408576698