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

Commit a3672daa authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Marking a flaky test as such

Excluding it from presubmit till the flakiness can be fixed.

Test: atest --test-mapping

Bug: 172318004
Change-Id: Iebf5e03df0fb05abc798a66486eea85687da2060
parent 5ff94063
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ import android.provider.Settings;
import android.util.Log;

import androidx.test.InstrumentationRegistry;
import androidx.test.filters.FlakyTest;
import androidx.test.filters.LargeTest;
import androidx.test.runner.AndroidJUnit4;

@@ -131,6 +132,7 @@ public class BackgroundRestrictionsTest {
    }

    @Test
    @FlakyTest
    public void testPowerWhiteList() throws Exception {
        scheduleAndAssertJobStarted();
        setAppOpsModeAllowed(false);