Commit Graph

4 Commits

Author SHA1 Message Date
Mathieu Chartier
eea7926c2a 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
2020-03-24 11:34:57 -07:00
Mathieu Chartier
19773e04fc Set boot image profile properties in a loop for BootImageProfileTest
Set the properties in a loop to attempt and prevent flakiness if
properties aren't set by the time the tests starts.

Bug: 148649139
Test: atest BootImageProfileTest
Change-Id: I9a51770d687c93e0eb8829c277e1ec0a33d7c481
2020-02-11 08:27:31 -08:00
Mathieu Chartier
9a1c86dd4b Use phenotype properties for boot image profile test
Use these properties instead of system properties to get coverage.

Bug: 139883463
Test: atest BootImageProfileTest

Change-Id: I9275913ef109b5aaf0bdca6c07da8f102ecdc701
2019-10-11 15:10:01 -07:00
Mathieu Chartier
feca77fc81 Add test for boot image profile collection
Test that the expected properties are set.

Test that saving the system server profile contains both the boot image
profile and system server profile.

The test requires root to run.

Bug: 139883463
Test: atest BootImageProfileTest

(cherry picked from commit f7849d916a)

Change-Id: Id7fa4ecc507864c2855da276025be076e5768df1
Merged-In: I6bb39337ba07be58b7dc2b314a8ee92154256f17
2019-09-20 16:42:06 -07:00