commit | af317c78216dffd9370618df668014b5bbb6e961 | [log] [tgz] |
---|---|---|
author | vadimt <vadimt@google.com> | Thu Oct 17 12:07:10 2019 -0700 |
committer | vadimt <vadimt@google.com> | Thu Oct 17 12:07:10 2019 -0700 |
tree | 747da561c0cc1a2336e7c307620218a14f2912bc | |
parent | 35903d2cb25a4c941d97e26746d6d3f74c5fd5e7 [diff] |
More preparation for enabling inproc presubmits Bug: 136278866 Change-Id: Icc4a0d935acf76950197bc184f8dba5d07ee85c5
diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 484cbb6..41a4bdb 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
@@ -497,7 +497,9 @@ } public void waitForLauncherInitialized() { - for (int i = 0; i < 100; ++i) { + // b/136278866 + final int attempts = android.os.Build.MODEL.contains("Cuttlefish") ? 600 : 100; + for (int i = 0; i < attempts; ++i) { if (getTestInfo( TestProtocol.REQUEST_IS_LAUNCHER_INITIALIZED). getBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD)) {