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

Commit 89dc5f67 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Marking a flaky test as such"

parents fea40a0f a3672daa
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);