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

Issue 1493953002: [Android] Add support for timeouts scaling for OnDevice instrumentation. (Closed)

Created:
5 years ago by mikecase (-- gone --)
Modified:
5 years ago
CC:
chromium-reviews, jbudorick+watch_chromium.org, klundberg+watch_chromium.org, mikecase+watch_chromium.org, vmpstr+watch_chromium.org, yfriedman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Add support for timeouts scaling for OnDevice instrumentation. This adds support for using the test_runner --timeout-scale arg. However, the TimeoutScale annotation still currently doesn't work for remote instrumentation tests. BUG= Committed: https://crrev.com/37b3817940096f8dd593cb32eabb3774f2302d7b Cr-Commit-Position: refs/heads/master@{#364238}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Clean up timeout_scale file. #

Total comments: 3

Patch Set 4 : Added wrong GN dependency. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -1 line) Patch
M base/test/android/javatests/src/org/chromium/base/test/util/ScalableTimeout.java View 1 chunk +1 line, -1 line 0 comments Download
M build/android/pylib/instrumentation/instrumentation_test_instance.py View 2 chunks +4 lines, -0 lines 0 comments Download
M testing/android/driver/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java View 1 2 6 chunks +23 lines, -0 lines 0 comments Download
M testing/android/on_device_instrumentation.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
mikecase (-- gone --)
This seemed to be by far the most straightforward way to get timeout scaling to ...
5 years ago (2015-12-03 00:11:16 UTC) #2
rnephew (Wrong account)
On 2015/12/03 00:11:16, mikecase wrote: > This seemed to be by far the most straightforward ...
5 years ago (2015-12-03 00:24:40 UTC) #3
rnephew (Wrong account)
https://codereview.chromium.org/1493953002/diff/20001/base/test/android/javatests/src/org/chromium/base/test/util/ScalableTimeout.java File base/test/android/javatests/src/org/chromium/base/test/util/ScalableTimeout.java (right): https://codereview.chromium.org/1493953002/diff/20001/base/test/android/javatests/src/org/chromium/base/test/util/ScalableTimeout.java#newcode16 base/test/android/javatests/src/org/chromium/base/test/util/ScalableTimeout.java:16: public static final String PROPERTY_FILE = "/data/local/tmp/chrome_timeout_scale"; Is there ...
5 years ago (2015-12-03 00:24:52 UTC) #5
mikecase (-- gone --)
https://codereview.chromium.org/1493953002/diff/20001/base/test/android/javatests/src/org/chromium/base/test/util/ScalableTimeout.java File base/test/android/javatests/src/org/chromium/base/test/util/ScalableTimeout.java (right): https://codereview.chromium.org/1493953002/diff/20001/base/test/android/javatests/src/org/chromium/base/test/util/ScalableTimeout.java#newcode16 base/test/android/javatests/src/org/chromium/base/test/util/ScalableTimeout.java:16: public static final String PROPERTY_FILE = "/data/local/tmp/chrome_timeout_scale"; On 2015/12/03 ...
5 years ago (2015-12-03 00:46:11 UTC) #6
mikecase (-- gone --)
+nyquist@chromium.org for owner of testing/android
5 years ago (2015-12-03 00:51:17 UTC) #8
jbudorick
https://codereview.chromium.org/1493953002/diff/20001/testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java File testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java (right): https://codereview.chromium.org/1493953002/diff/20001/testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java#newcode113 testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java:113: OutputStreamWriter outputStreamWriter = new OutputStreamWriter( I'm concerned that this ...
5 years ago (2015-12-03 00:54:11 UTC) #9
mikecase (-- gone --)
https://codereview.chromium.org/1493953002/diff/20001/testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java File testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java (right): https://codereview.chromium.org/1493953002/diff/20001/testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java#newcode113 testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java:113: OutputStreamWriter outputStreamWriter = new OutputStreamWriter( On 2015/12/03 at 00:54:11, ...
5 years ago (2015-12-03 02:04:41 UTC) #10
nyquist
https://codereview.chromium.org/1493953002/diff/40001/testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java File testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java (right): https://codereview.chromium.org/1493953002/diff/40001/testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java#newcode148 testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java:148: public void onDestroy() { Is this always called? Such ...
5 years ago (2015-12-03 23:37:53 UTC) #11
mikecase (-- gone --)
https://codereview.chromium.org/1493953002/diff/40001/testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java File testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java (right): https://codereview.chromium.org/1493953002/diff/40001/testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java#newcode148 testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java:148: public void onDestroy() { On 2015/12/03 at 23:37:53, nyquist ...
5 years ago (2015-12-04 17:26:16 UTC) #12
nyquist
lgtm https://codereview.chromium.org/1493953002/diff/40001/testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java File testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java (right): https://codereview.chromium.org/1493953002/diff/40001/testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java#newcode148 testing/android/driver/java/src/org/chromium/test/driver/OnDeviceInstrumentationDriver.java:148: public void onDestroy() { On 2015/12/04 17:26:16, mikecase ...
5 years ago (2015-12-08 20:58:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1493953002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1493953002/40001
5 years ago (2015-12-09 01:35:03 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/168253)
5 years ago (2015-12-09 02:11:02 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1493953002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1493953002/60001
5 years ago (2015-12-09 22:13:59 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-12-10 01:16:23 UTC) #22
commit-bot: I haz the power
5 years ago (2015-12-10 01:16:56 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/37b3817940096f8dd593cb32eabb3774f2302d7b
Cr-Commit-Position: refs/heads/master@{#364238}

Powered by Google App Engine
This is Rietveld 408576698