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

Commit 25a96e44 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "init_kill_services_test: also reboot after"

parents 4222040b d642fe49
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -18,7 +18,16 @@
    <option name="test-suite-tag" value="apct-native" />

    <!-- cannot be autogenerated: b/153565474 -->
    <target_preparer class="com.android.tradefed.targetprep.RebootTargetPreparer" />
    <target_preparer class="com.android.tradefed.targetprep.RebootTargetPreparer">
        <!-- flake mitigation, in case device is in bad state-->
        <option name="pre-reboot" value="true" />
        <!-- sometimes device gets into bad state, and we don't detect it in this test,
          so the test succeeds and the next test fails. This is a really bad result, so
          to avoid that, making sure we reboot the device again before running any more
          tests.
          TODO(b/152556737): add metrics for successful device recovery -->
        <option name="post-reboot" value="true" />
    </target_preparer>

    <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/>