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

Commit 8590710e authored by Tyler Freeman's avatar Tyler Freeman
Browse files

fix(non linear font scaling): increase timeout to fix flaky test

Fix: 303216580
Test: atest FontScaleConverterActivityTest
Change-Id: I6490c7a50da8e860cfe4ba8031fea58ad3835f67
parent da5bccd9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -137,7 +137,7 @@ public class FontScaleConverterActivityTest {
            );
        });

        PollingCheck.waitFor(/* timeout= */ 7000, () -> {
        PollingCheck.waitFor(/* timeout= */ 10000, () -> {
            AtomicBoolean isActivityAtCorrectScale = new AtomicBoolean(false);
            rule.getScenario().onActivity(activity ->
                    isActivityAtCorrectScale.set(
@@ -163,7 +163,7 @@ public class FontScaleConverterActivityTest {
        });

        PollingCheck.waitFor(
                /* timeout= */ 5000,
                /* timeout= */ 10000,
                () -> InstrumentationRegistry.getInstrumentation()
                                        .getContext()
                                        .getResources()