Skip to content
Snippets Groups Projects
Commit bb0db1d2 authored by Andrei-Valentin Onea's avatar Andrei-Valentin Onea Committed by Gerrit Code Review
Browse files

Merge "Fix compat change CTS test flakiness"

parents 19189d88 34a78c50
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,10 @@ class PlatformCompatCommandNotInstalledTest {
fun ParcelFileDescriptor.text() = FileReader(fileDescriptor).readText()
@After
fun resetIdentity() = uiAutomation.dropShellPermissionIdentity()
fun resetChangeIdAndIdentity() {
command("am compat reset $TEST_CHANGE_ID $TEST_PKG")
uiAutomation.dropShellPermissionIdentity()
}
@Test
fun execute() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment