From a7176aaad16b5ea106ff32f1007068727239eb46 Mon Sep 17 00:00:00 2001 From: Igor Murashkin Date: Wed, 25 Mar 2020 13:22:57 -0700 Subject: [PATCH] tests: AppLaunch - increase sleep duration after resetting iorapd Makes it less likely we'll launch the next app too quickly after restarting iorapd. Bug: 152322429 Test: am instrument Change-Id: I4fc35665f03ae7d9fe073accfcb1e04842c737dd --- tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java b/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java index 9be97b505a3f4..f444b77b738e3 100644 --- a/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java +++ b/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java @@ -767,7 +767,7 @@ public class AppLaunch extends InstrumentationTestCase { .executeShellCommand(String.format("setprop iorapd.readahead.enable %b", enable)); getInstrumentation().getUiAutomation() .executeShellCommand("start iorapd"); - sleep(2000); // give enough time for iorapd to start back up. + sleep(3000); // give enough time for iorapd to start back up. if (enable) { mIorapStatus = IorapStatus.ENABLED;