diff options
author | Yan Wang <yawanng@google.com> | 2020-05-18 17:31:43 +0000 |
---|---|---|
committer | Yan Wang <yawanng@google.com> | 2020-05-21 01:18:35 +0000 |
commit | 61506d06bc597fa03c0f649cfd3e832867680718 (patch) | |
tree | bfea9bd6e9a344648d8d319dcf0b8bf08b399819 /tests/AppLaunch/src | |
parent | 5bf3f80f207be52e2aec2ad27041154dbe227bac (diff) |
AppLaunch: Run trial more times to tolerate possible failure in prefetto
tracing.
Bug: 156039247
Test: forrest runs
Change-Id: I152bca5d7ac2970894ae4147bcfeb88eaf4ed641
Diffstat (limited to 'tests/AppLaunch/src')
-rw-r--r-- | tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java b/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java index 7d750b7bf690..1a58f17ef6a0 100644 --- a/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java +++ b/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java @@ -115,7 +115,7 @@ public class AppLaunch extends InstrumentationTestCase { private static final int BETWEEN_LAUNCH_SLEEP_TIMEOUT = 3000; // 3s between launching apps private static final int PROFILE_SAVE_SLEEP_TIMEOUT = 1000; // Allow 1s for the profile to save private static final int IORAP_TRACE_DURATION_TIMEOUT = 7000; // Allow 7s for trace to complete. - private static final int IORAP_TRIAL_LAUNCH_ITERATIONS = 3; // min 3 launches to merge traces. + private static final int IORAP_TRIAL_LAUNCH_ITERATIONS = 5; // min 5 launches to merge traces. private static final int IORAP_COMPILE_CMD_TIMEOUT = 60; // in seconds: 1 minutes private static final int IORAP_COMPILE_MIN_TRACES = 1; // configure iorapd to need 1 trace. private static final int IORAP_COMPILE_RETRIES = 3; // retry compiler 3 times if it fails. |