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

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

Exclude a broken job scheduler test from presubmit

Skipping the test till it can be investigated and fixed.

Test: atest FrameworksServicesTests:BackgroundRestrictionsTest

Bug: 177473894
Change-Id: I12b9cf80f45b73b953f2b299da0377cc1e56ef9e
parent b7ac76f7
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;

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

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