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

Commit e1a0be11 authored by João Victor Mendes Freire's avatar João Victor Mendes Freire
Browse files

Revert back to waiting 10s to cool down

After the tests ran for a couple of weeks, no significant changes were
detected. However, some tests started to crash more often. Since we are
not sure if it is due to the testing platform or due to the change in
wait time, we are reverting to the amount used on the original
investigation.

Bug: 261621873
Test: atest UserLifecycleTests
Change-Id: I0bf137503f153993d7067c71b4e6f303e58031a7
parent 52da5481
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -1555,8 +1555,8 @@ public class UserLifecycleTests {


    private void waitCoolDownPeriod() {
    private void waitCoolDownPeriod() {
        // Heuristic value based on local tests. Stability increased compared to no waiting.
        // Heuristic value based on local tests. Stability increased compared to no waiting.
        final int fiveSeconds = 1000 * 5;
        final int tenSeconds = 1000 * 10;
        waitForBroadcastIdle();
        waitForBroadcastIdle();
        sleep(fiveSeconds);
        sleep(tenSeconds);
    }
    }
}
}