From ffbd78915f5eefb6d7c48bc9d1f4db2d2e10c537 Mon Sep 17 00:00:00 2001 From: Eduard Olteanu Date: Fri, 8 Sep 2023 14:18:33 +0000 Subject: Increase mockALot timeout to 17 minutes This is needed for low end devices (including Rohan). It was also a test improvement in b/292210010 but this is submitted with another CL that also accounts for shell timeout because the shell was getting timed out before the test finished. Bug:298611502 Test: run cts -m CtsInlineMockingTestCases -t com.android.dx.mockito.tests.Stress#mockALot Change-Id: Ida5f545ed123c1dea56e7e87efb43daf325e9470 Signed-off-by: Eduard Olteanu --- .../src/main/java/com/android/dx/mockito/tests/Stress.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dexmaker-mockito-tests/src/main/java/com/android/dx/mockito/tests/Stress.java b/dexmaker-mockito-tests/src/main/java/com/android/dx/mockito/tests/Stress.java index 6b96f13..63ea3f0 100644 --- a/dexmaker-mockito-tests/src/main/java/com/android/dx/mockito/tests/Stress.java +++ b/dexmaker-mockito-tests/src/main/java/com/android/dx/mockito/tests/Stress.java @@ -42,7 +42,7 @@ public class Stress { } @LargeTest - @Test(timeout=600000) + @Test(timeout=1020000) public void mockALot() { for (int i = 0; i < NUM_TESTS; i++) { if (i % 1024 == 0) { -- cgit v1.2.3