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

Commit 33aad1b5 authored by Nataniel Borges's avatar Nataniel Borges
Browse files

Increase buffer size during testing

The SF hierarchy is now being mirrored, which uses significantly more space on the trace. In some bugs the trace is being cut after the transition started and causing test failures

Bug: 280052029
Test: atest FlickerTests WMShellFlickerTests
Change-Id: Ia5b8cfdbb71c9145a9248effb47e4f98c402f649
parent f806e9d7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -21,6 +21,9 @@
        <option name="run-command" value="setprop ro.test_harness 1 ; am force-stop com.google.android.apps.nexuslauncher" />
        <!-- Ensure output directory is empty at the start -->
        <option name="run-command" value="rm -rf /sdcard/flicker" />
        <!-- Increase trace size: 20mb for WM and 80mb for SF -->
        <option name="run-command" value="cmd window tracing size 20480" />
        <option name="run-command" value="su root service call SurfaceFlinger 1029 i32 81920" />
    </target_preparer>
    <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
        <option name="run-command" value="settings put secure show_ime_with_hard_keyboard 1" />
+3 −0
Original line number Diff line number Diff line
@@ -21,6 +21,9 @@
        <option name="run-command" value="setprop ro.test_harness 1 ; am force-stop com.google.android.apps.nexuslauncher" />
        <!-- Ensure output directory is empty at the start -->
        <option name="run-command" value="rm -rf /sdcard/flicker" />
        <!-- Increase trace size: 20mb for WM and 80mb for SF -->
        <option name="run-command" value="cmd window tracing size 20480" />
        <option name="run-command" value="su root service call SurfaceFlinger 1029 i32 81920" />
    </target_preparer>
    <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
        <option name="run-command" value="settings put secure show_ime_with_hard_keyboard 1" />