From 3a02b9ce9f77480a2006437d34d66e2e4e2cbcbb Mon Sep 17 00:00:00 2001 From: Alex Chau Date: Thu, 5 Aug 2021 13:55:52 +0100 Subject: [PATCH] Further increase FORCE_PAUSE_TIMEOUT in tests - Test result has been improved by ag/15455154, but flakiness still exist, further increase the timeout to see if it helps Bug: 194114179 Test: atest NexusLauncherOutOfProcTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace Change-Id: I0421a969a30d9c8b259aeb21059e2219f43174f7 --- .../com/android/launcher3/tapl/LauncherInstrumentation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index b1278a7047..abcc7788e2 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java @@ -96,7 +96,7 @@ public final class LauncherInstrumentation { private static final String TAG = "Tapl"; private static final int ZERO_BUTTON_STEPS_FROM_BACKGROUND_TO_HOME = 20; private static final int GESTURE_STEP_MS = 16; - private static final long FORCE_PAUSE_TIMEOUT_MS = 500; + private static final long FORCE_PAUSE_TIMEOUT_MS = 700; static final Pattern EVENT_TOUCH_DOWN = getTouchEventPattern("ACTION_DOWN"); static final Pattern EVENT_TOUCH_UP = getTouchEventPattern("ACTION_UP");