From e1a0be11c3a9db17337a928b6ccf33d818d7dbcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Victor=20Mendes=20Freire?= Date: Thu, 2 Mar 2023 11:15:27 -0300 Subject: [PATCH] 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 --- .../multiuser/src/android/multiuser/UserLifecycleTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apct-tests/perftests/multiuser/src/android/multiuser/UserLifecycleTests.java b/apct-tests/perftests/multiuser/src/android/multiuser/UserLifecycleTests.java index 4c2cf2b2e64c5..5b7bca05cbafc 100644 --- a/apct-tests/perftests/multiuser/src/android/multiuser/UserLifecycleTests.java +++ b/apct-tests/perftests/multiuser/src/android/multiuser/UserLifecycleTests.java @@ -1555,8 +1555,8 @@ public class UserLifecycleTests { private void waitCoolDownPeriod() { // Heuristic value based on local tests. Stability increased compared to no waiting. - final int fiveSeconds = 1000 * 5; + final int tenSeconds = 1000 * 10; waitForBroadcastIdle(); - sleep(fiveSeconds); + sleep(tenSeconds); } }