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

Commit 34a78c50 authored by Andrei Onea's avatar Andrei Onea
Browse files

Fix compat change CTS test flakiness

Cleanup overrides in the PlatformCompatCommandNotInstalledTest test.

Test: atest PlatformCompatCommandNotInstalledTest
Test: adb shell dumpsys platform_compat | grep override # is empty
Bug: 169235095
Change-Id: Ibd9f2801e8b4c571dca49f0682a8bc3b17ffd545
parent 378fa1b4
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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() {