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
This commit is contained in:
Igor Murashkin
2020-03-25 13:22:57 -07:00
parent d988f55a0a
commit a7176aaad1

View File

@@ -767,7 +767,7 @@ public class AppLaunch extends InstrumentationTestCase {
.executeShellCommand(String.format("setprop iorapd.readahead.enable %b", enable)); .executeShellCommand(String.format("setprop iorapd.readahead.enable %b", enable));
getInstrumentation().getUiAutomation() getInstrumentation().getUiAutomation()
.executeShellCommand("start iorapd"); .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) { if (enable) {
mIorapStatus = IorapStatus.ENABLED; mIorapStatus = IorapStatus.ENABLED;