Reboot device after test for cleanup

Since the properties are not persistent, reboot the device to clean
up after doing the test.

Test: atest BootImageProfileTest and verify properties
Bug: 151798523
Change-Id: Icf120e032c12f83635b3d9e8cdc764b4ebd817dd
This commit is contained in:
Mathieu Chartier
2020-03-24 11:34:57 -07:00
parent 70b1c45a9e
commit eea7926c2a

View File

@@ -23,6 +23,10 @@
<option name="force-skip-system-props" value="true" />
</target_preparer>
<target_preparer class="com.android.tradefed.targetprep.DeviceCleaner">
<option name="cleanup-action" value="REBOOT" />
</target_preparer>
<test class="com.android.tradefed.testtype.HostTest" >
<option name="class" value="com.android.bootimageprofile.BootImageProfileTest" />
</test>