Extend ExpensiveObjectsPerfTest timeouts.
Test: atest ExpensiveObjectsPerfTest Bug: 284111560 Bug: 286219615 Change-Id: I6e35b65311c970e2c5ed40f5f25a9e771c35e9a2
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user