From dd9373015a2b10cc5ab53e4964f195b04f0ab254 Mon Sep 17 00:00:00 2001 From: Nataniel Borges Date: Thu, 3 Feb 2022 15:35:20 +0100 Subject: [PATCH] Run pip transition 5x The test was previously running the transition 20 times incorrectly. This frequently led to OOM errors, since the system would store 80 instances of protos + flicker objects in memory while making assertions. Intead run the default 5x Bug: 216303412 Test: atest ExitPipWithSwipeDownTest Change-Id: I20fe19239a857cfbc0818910814041323735692a --- .../android/wm/shell/flicker/pip/ExitPipWithSwipeDownTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/ExitPipWithSwipeDownTest.kt b/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/ExitPipWithSwipeDownTest.kt index 6524182e90822..9061239147313 100644 --- a/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/ExitPipWithSwipeDownTest.kt +++ b/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/ExitPipWithSwipeDownTest.kt @@ -93,7 +93,7 @@ class ExitPipWithSwipeDownTest(testSpec: FlickerTestParameter) : ExitPipTransiti fun getParams(): List { return FlickerTestParameterFactory.getInstance() .getConfigNonRotationTests(supportedRotations = listOf(Surface.ROTATION_0), - repetitions = 20) + repetitions = 5) } } } \ No newline at end of file