From d7853658cacb7181b750131c3e63bc75b1c2473f Mon Sep 17 00:00:00 2001 From: Makoto Onuki Date: Mon, 6 Feb 2023 15:01:10 -0800 Subject: [PATCH] Extend getUiAutomator() timeout from 5 seconds to 60 seconds Test: atest CtsShortFgsTestCases Bug: 266521938 Change-Id: I192a115b8c67bdf544cf8a5dd9a70b350899cf4e --- core/java/android/app/Instrumentation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/app/Instrumentation.java b/core/java/android/app/Instrumentation.java index bb91ecd86086e..14fe36591c270 100644 --- a/core/java/android/app/Instrumentation.java +++ b/core/java/android/app/Instrumentation.java @@ -91,7 +91,7 @@ public class Instrumentation { private static final String TAG = "Instrumentation"; - private static final long CONNECT_TIMEOUT_MILLIS = 5000; + private static final long CONNECT_TIMEOUT_MILLIS = 60_000; /** * @hide