Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f5c20ab authored by Taran Singh's avatar Taran Singh
Browse files

Increase timeout for InputMethod binding test

Use a higher and a device multiplier for timeout to reduice flakiness

Fix: 411332803
Test: atest CtsInputMethodTestCases
Flag: TEST_ONLY
Change-Id: I7bc47c54a1c66601bca45c16e8e092f8fae00fd7
parent b405bdfa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.inputmethodservice.InputMethodService;
import android.os.Build;
import android.os.Process;
import android.os.RemoteException;
import android.os.UserHandle;
@@ -59,7 +60,7 @@ public class InputMethodBindingControllerTest extends InputMethodManagerServiceT
            "com.android.server.inputmethod.InputMethodBindingControllerTest"
                    + "$EmptyInputMethodService";
    private static final String TEST_IME_ID = PACKAGE_NAME + "/" + TEST_SERVICE_NAME;
    private static final long TIMEOUT_IN_SECONDS = 3;
    private static final long TIMEOUT_IN_SECONDS = 5L * Build.HW_TIMEOUT_MULTIPLIER;

    private InputMethodBindingController mBindingController;
    private Instrumentation mInstrumentation;