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

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

Merge "Exclude a broken job scheduler test from presubmit"

parents 3b59bf74 f45a3bfc
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -41,6 +41,7 @@ import android.provider.Settings;
import android.util.Log;
import android.util.Log;


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


@@ -134,6 +135,7 @@ public class BackgroundRestrictionsTest {
        assertTrue("Job did not start after scheduling", awaitJobStart(DEFAULT_WAIT_TIMEOUT));
        assertTrue("Job did not start after scheduling", awaitJobStart(DEFAULT_WAIT_TIMEOUT));
    }
    }


    @FlakyTest
    @Test
    @Test
    public void testPowerExemption() throws Exception {
    public void testPowerExemption() throws Exception {
        scheduleAndAssertJobStarted();
        scheduleAndAssertJobStarted();