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

Commit 8972dd0b authored by Joshua Tsuji's avatar Joshua Tsuji
Browse files

Decrease stiffness for one test to reduce flakes.

Test: atest SystemUITests
Change-Id: Id8a7ea26af7dfc0f15cf961cd734d15eec5453f0
parent 60cadb23
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -280,7 +280,12 @@ class PhysicsAnimatorTest : SysuiTestCase() {

        // Spring TRANSLATION_X to 100f, with an update and end listener provided.
        animator
                .spring(DynamicAnimation.TRANSLATION_X, 100f, springConfig)
                .spring(
                        DynamicAnimation.TRANSLATION_X,
                        100f,
                        // Use very low stiffness to ensure that all of the keyframes we're testing
                        // for are reported to the update listener.
                        springConfig.apply { stiffness = SpringForce.STIFFNESS_VERY_LOW })
                .addUpdateListener(mockUpdateListener)
                .addEndListener(mockEndListener)
                .start()