Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5396e37 authored by Jing Ji's avatar Jing Ji
Browse files

Fix flaky ApplicationExitInfoTest

Make the tolerance threshold longer

Bug: 183550299
Test: atest ApplicationExitInfoTest
Change-Id: I92ba2ef83e43badbaccd766bb2ab5c89ca04d008
parent 1325fdd0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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());
        }