Extend ExpensiveObjectsPerfTest timeouts.

Test: atest ExpensiveObjectsPerfTest
Bug: 284111560
Bug: 286219615
Change-Id: I6e35b65311c970e2c5ed40f5f25a9e771c35e9a2
This commit is contained in:
Miguel
2023-06-27 15:38:36 +00:00
committed by Miguel Aranda
parent ffc1a30a1b
commit 9e46feadb2

View File

@@ -52,7 +52,7 @@ public class ExpensiveObjectsPerfTest {
}
}
@Test(timeout = 900)
@Test(timeout = 900000)
public void timeClonedDateFormatTimeInstance() {
DateFormat df = DateFormat.getTimeInstance(DateFormat.SHORT);
BenchmarkState state = mPerfStatusReporter.getBenchmarkState();
@@ -72,7 +72,7 @@ public class ExpensiveObjectsPerfTest {
}
}
@Test
@Test(timeout = 900000)
public void timeNewCollator() {
BenchmarkState state = mPerfStatusReporter.getBenchmarkState();
while (state.keepRunning()) {