summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2020-05-26 18:45:12 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-05-26 18:45:12 +0000
commit12416fba4a9f98d697a6dfb27a7da6bc58dc570d (patch)
tree4aaba6f8aecb14de1cb38f05de6ece8c81101664
parent00b717d6f4d69353bc241aa77acf14f6548afc8f (diff)
parent61506d06bc597fa03c0f649cfd3e832867680718 (diff)
Merge "AppLaunch: Run trial more times to tolerate possible failure in prefetto tracing." into rvc-dev
-rw-r--r--tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java2
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.