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

Issue 376873008: Improve Android Test Size Annotation support in test_runner.py (Closed)

Created:
6 years, 5 months ago by mckev
Modified:
6 years, 5 months ago
Reviewers:
Yaron, jbudorick, gone, yfriedman
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Improve Android Test Size Annotation support in test_runner.py - Add explicit support for EnormousTest - Warn at runtime if a test size annotation isn't recognized (see: http://www.chromium.org/developers/testing/android-tests) - Remove EnormousTest annotation from a test that wasn't actually using it (it was effectively using the SmallTest timeout value at runtime). - Add SmallTest annotation to InstallerDelegateTest (it was the only set of tests that did not include these annotations). TEST=ChromeShellTest instrumentation tests BUG=392297 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283684

Patch Set 1 #

Total comments: 3

Patch Set 2 : Reduce timeout to 10m #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -3 lines) Patch
M build/android/pylib/instrumentation/test_runner.py View 1 1 chunk +8 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/RepostFormWarningTest.java View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/banners/InstallerDelegateTest.java View 5 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
mckev
Reviewers, please review this patch as follows: jbudorick: chrome/android/javatests/* dfalcantara: build/android/pylib/instrumentation/test_runner.py Thanks!
6 years, 5 months ago (2014-07-08 22:36:43 UTC) #1
jbudorick
chrome/android/javatests/* lgtm Thanks for the report & patch! https://codereview.chromium.org/376873008/diff/1/build/android/pylib/instrumentation/test_runner.py File build/android/pylib/instrumentation/test_runner.py (right): https://codereview.chromium.org/376873008/diff/1/build/android/pylib/instrumentation/test_runner.py#newcode322 build/android/pylib/instrumentation/test_runner.py:322: return ...
6 years, 5 months ago (2014-07-09 01:31:53 UTC) #2
gone
yfriedman for test timeouts https://codereview.chromium.org/376873008/diff/1/build/android/pylib/instrumentation/test_runner.py File build/android/pylib/instrumentation/test_runner.py (right): https://codereview.chromium.org/376873008/diff/1/build/android/pylib/instrumentation/test_runner.py#newcode322 build/android/pylib/instrumentation/test_runner.py:322: return 24 * 60 * ...
6 years, 5 months ago (2014-07-09 17:26:56 UTC) #3
Yaron
https://codereview.chromium.org/376873008/diff/1/build/android/pylib/instrumentation/test_runner.py File build/android/pylib/instrumentation/test_runner.py (right): https://codereview.chromium.org/376873008/diff/1/build/android/pylib/instrumentation/test_runner.py#newcode322 build/android/pylib/instrumentation/test_runner.py:322: return 24 * 60 * 60 On 2014/07/09 17:26:56, ...
6 years, 5 months ago (2014-07-09 20:47:41 UTC) #4
Yaron
6 years, 5 months ago (2014-07-09 20:47:42 UTC) #5
mckev
On 2014/07/09 20:47:41, Yaron wrote: > https://codereview.chromium.org/376873008/diff/1/build/android/pylib/instrumentation/test_runner.py > File build/android/pylib/instrumentation/test_runner.py (right): > > https://codereview.chromium.org/376873008/diff/1/build/android/pylib/instrumentation/test_runner.py#newcode322 > ...
6 years, 5 months ago (2014-07-09 20:55:14 UTC) #6
mckev
Updated based on feedback. If all looks good, can someone submit to the CQ?
6 years, 5 months ago (2014-07-09 20:59:10 UTC) #7
jbudorick
On 2014/07/09 20:59:10, mckev wrote: > Updated based on feedback. If all looks good, can ...
6 years, 5 months ago (2014-07-16 23:28:12 UTC) #8
Yaron
On 2014/07/16 23:28:12, jbudorick wrote: > On 2014/07/09 20:59:10, mckev wrote: > > Updated based ...
6 years, 5 months ago (2014-07-17 01:21:00 UTC) #9
jbudorick
The CQ bit was checked by jbudorick@chromium.org
6 years, 5 months ago (2014-07-17 01:41:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mckev@amazon.com/376873008/20001
6 years, 5 months ago (2014-07-17 01:45:08 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 07:17:41 UTC) #12
Message was sent while issue was closed.
Change committed as 283684

Powered by Google App Engine
This is Rietveld 408576698