Merge "Fix flaky ApplicationExitInfoTest" into sc-dev

This commit is contained in:
Jing Ji
2021-03-24 18:01:43 +00:00
committed by Android (Google) Code Review

View File

@@ -1015,7 +1015,7 @@ public class ApplicationExitInfoTest {
assertNotNull(info);
if (timestamp != null) {
final long tolerance = 1000; // ms
final long tolerance = 10000; // ms
assertTrue(timestamp - tolerance <= info.getTimestamp());
assertTrue(timestamp + tolerance >= info.getTimestamp());
}