Merge "Extend ExpensiveObjectsPerfTest timeouts." am: 79572ee42e am: fbaae95af6 am: 52644bc496 am: 723b0849ca
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2640111 Change-Id: Id6748f3137c6a3364f2dcb6e483f3cbcc97e15e9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -52,7 +52,7 @@ public class ExpensiveObjectsPerfTest {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(timeout = 900)
|
@Test(timeout = 900000)
|
||||||
public void timeClonedDateFormatTimeInstance() {
|
public void timeClonedDateFormatTimeInstance() {
|
||||||
DateFormat df = DateFormat.getTimeInstance(DateFormat.SHORT);
|
DateFormat df = DateFormat.getTimeInstance(DateFormat.SHORT);
|
||||||
BenchmarkState state = mPerfStatusReporter.getBenchmarkState();
|
BenchmarkState state = mPerfStatusReporter.getBenchmarkState();
|
||||||
@@ -72,7 +72,7 @@ public class ExpensiveObjectsPerfTest {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test(timeout = 900000)
|
||||||
public void timeNewCollator() {
|
public void timeNewCollator() {
|
||||||
BenchmarkState state = mPerfStatusReporter.getBenchmarkState();
|
BenchmarkState state = mPerfStatusReporter.getBenchmarkState();
|
||||||
while (state.keepRunning()) {
|
while (state.keepRunning()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user