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

Commit 5dda3907 authored by Tyler Freeman's avatar Tyler Freeman
Browse files

fix(non linear font scaling): optimize test to reduce flaky timeouts

Bug: 247861716
Test: atest FrameworksCoreTests:android.content.res.FontScaleConverterFactoryTest
Change-Id: I76d58a6d0b78f3ef1bd6c61040025f5b95487859
parent d0134ec0
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -90,11 +90,7 @@ class FontScaleConverterFactoryTest {
            }
            .forEach { (table, sp) ->
                try {
                    assertWithMessage(
                        "convertSpToDp(%s) on table: %s",
                        sp.toString(),
                        table.toString()
                    )
                    assertWithMessage("convertSpToDp(%s) on table: %s", sp, table)
                        .that(table.convertSpToDp(sp))
                        .isFinite()
                } catch (e: Exception) {