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

Commit a7176aaa authored by Igor Murashkin's avatar Igor Murashkin
Browse files

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
parent d988f55a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;