From bbe0b27ed8da73702037b11ba04a95300f99ccf2 Mon Sep 17 00:00:00 2001 From: Sudheer Shanka Date: Thu, 19 Oct 2023 19:19:51 +0000 Subject: [PATCH] Increase the service bind timeout. Bug: 305826147 Test: atest com.android.cts.net.HostsideRestrictBackgroundNetworkTests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4c137f7fa7827a9794165b86a5cc7ade85f017bf) Merged-In: I1840e091ebbc9812da56a3522e009ba67a18c476 Change-Id: I1840e091ebbc9812da56a3522e009ba67a18c476 --- .../app/src/com/android/cts/net/hostside/MyServiceClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cts/hostside/app/src/com/android/cts/net/hostside/MyServiceClient.java b/tests/cts/hostside/app/src/com/android/cts/net/hostside/MyServiceClient.java index 0610774254..93cc91125a 100644 --- a/tests/cts/hostside/app/src/com/android/cts/net/hostside/MyServiceClient.java +++ b/tests/cts/hostside/app/src/com/android/cts/net/hostside/MyServiceClient.java @@ -27,7 +27,7 @@ import android.os.IBinder; import android.os.RemoteException; public class MyServiceClient { - private static final int TIMEOUT_MS = 5000; + private static final int TIMEOUT_MS = 20_000; private static final String PACKAGE = MyServiceClient.class.getPackage().getName(); private static final String APP2_PACKAGE = PACKAGE + ".app2"; private static final String SERVICE_NAME = APP2_PACKAGE + ".MyService";