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

Issue 396833002: Move Start/StopTest to Run() instead. (Closed)

Created:
6 years, 5 months ago by chrishenry
Modified:
6 years, 5 months ago
Reviewers:
dtu, nduca
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Move Start/StopTest to Run() instead. The previous location of Start/StopTest isn't correct because it does not encompass all calls to AddSkip/AddSuccess/AddFailure/etc. Unfortunately, the new location means that test with discard_first_result will still execute StartTest/StopTest. I think this is fine. Also add Start/StopTest around the check for test.CanRunForPage(page) for the same reason. BUG=392901 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283708

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Address review comment. #

Patch Set 3 : Fix typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -8 lines) Patch
M tools/telemetry/telemetry/page/page_runner.py View 1 2 5 chunks +10 lines, -8 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
chrishenry
Another alternative for CanRunForPage would be to move that check to within _PrepareAndRunPage, probably not ...
6 years, 5 months ago (2014-07-15 23:56:26 UTC) #1
dtu
https://codereview.chromium.org/396833002/diff/10002/tools/telemetry/telemetry/page/page_runner.py File tools/telemetry/telemetry/page/page_runner.py (right): https://codereview.chromium.org/396833002/diff/10002/tools/telemetry/telemetry/page/page_runner.py#newcode420 tools/telemetry/telemetry/page/page_runner.py:420: test.StopTest(page) try: # Run finally: test.StopTest(page)
6 years, 5 months ago (2014-07-16 00:04:59 UTC) #2
chrishenry
https://codereview.chromium.org/396833002/diff/10002/tools/telemetry/telemetry/page/page_runner.py File tools/telemetry/telemetry/page/page_runner.py (right): https://codereview.chromium.org/396833002/diff/10002/tools/telemetry/telemetry/page/page_runner.py#newcode420 tools/telemetry/telemetry/page/page_runner.py:420: test.StopTest(page) On 2014/07/16 00:04:58, dtu wrote: > try: > ...
6 years, 5 months ago (2014-07-16 00:27:25 UTC) #3
dtu
lgtm
6 years, 5 months ago (2014-07-16 00:44:12 UTC) #4
chrishenry
The CQ bit was checked by chrishenry@google.com
6 years, 5 months ago (2014-07-16 00:55:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishenry@google.com/396833002/30001
6 years, 5 months ago (2014-07-16 01:00:43 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-16 07:46:18 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-16 07:59:37 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu_triggered_tests/builds/34673)
6 years, 5 months ago (2014-07-16 07:59:37 UTC) #9
chrishenry
The CQ bit was checked by chrishenry@google.com
6 years, 5 months ago (2014-07-16 14:28:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishenry@google.com/396833002/50001
6 years, 5 months ago (2014-07-16 14:31:07 UTC) #11
chrishenry
The CQ bit was unchecked by chrishenry@google.com
6 years, 5 months ago (2014-07-16 23:50:52 UTC) #12
chrishenry
The CQ bit was checked by chrishenry@google.com
6 years, 5 months ago (2014-07-16 23:50:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishenry@google.com/396833002/50001
6 years, 5 months ago (2014-07-16 23:53:10 UTC) #14
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 08:17:59 UTC) #15
Message was sent while issue was closed.
Change committed as 283708

Powered by Google App Engine
This is Rietveld 408576698