Repeat app rotation test multiple times

To detect flickers the test should execute multiple times the transition instead of a single one.

Bug: 173688145
Test: atest FlickerTests:ChangeAppRotationTest
Change-Id: I5d28750e2a667c19c0f9263bda8566c6fd818e39
This commit is contained in:
Nataniel Borges
2020-12-02 17:14:50 +01:00
parent 80ff5c11e5
commit cf338510ef

View File

@@ -67,7 +67,7 @@ class ChangeAppRotationTest(
val instrumentation = InstrumentationRegistry.getInstrumentation()
val testApp = StandardAppHelper(instrumentation,
"com.android.server.wm.flicker.testapp", "SimpleApp")
return FlickerTestRunnerFactory(instrumentation)
return FlickerTestRunnerFactory(instrumentation, repetitions = 10)
.buildRotationTest { configuration ->
withTestName {
buildTestTag(