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

Commit 26b2a0ec authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

[Flexiglass] Fix BouncerPredictiveBackTest timeout

BouncerPredictiveBackTest is flaky sometimes due to the timeout being hit before the test finishes. Increasing the timeout from 20 seconds to 30 seconds should fix that.

Bug: 365514957
Flag: com.android.systemui.scene_container
Test: BouncerPredictiveBackTest
Change-Id: Id4742ebad9bad116cc984afd1ef4b956ce563fa5
parent e73140e6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -72,6 +72,7 @@ import com.android.systemui.scene.ui.viewmodel.SceneContainerViewModel
import com.android.systemui.scene.ui.viewmodel.splitEdgeDetector
import com.android.systemui.shade.domain.interactor.shadeInteractor
import com.android.systemui.testKosmos
import kotlin.time.Duration.Companion.seconds
import kotlinx.coroutines.awaitCancellation
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.MutableStateFlow
@@ -171,7 +172,7 @@ class BouncerPredictiveBackTest : SysuiTestCase() {

    @Test
    fun bouncerPredictiveBackMotion() =
        motionTestRule.runTest {
        motionTestRule.runTest(timeout = 30.seconds) {
            val motion =
                recordMotion(
                    content = { play ->