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

Commit 040e6c43 authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Remove flaky tests from Presubmit

Removes flaky tests from presubmit and and moves them to
postsubmit.

Test: Unit Tests
Bug: 29579544
Change-Id: Ib3260687047eaef571f04b015a10706220b8600f
parent 9a550b94
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -562,6 +562,7 @@ public class PhoneNumberUtilsTest extends AndroidTestCase {
                PhoneNumberUtils.formatNumber("011861088880000", "", "GB"));
    }

    @Postsubmit
    @SmallTest
    public void testIsEmergencyNumber() {
        // There are two parallel sets of tests here: one for the
+1 −0
Original line number Diff line number Diff line
@@ -352,6 +352,7 @@ public class GsmInboundSmsHandlerTest extends TelephonyTest {
        doReturn(mInboundSmsTrackerCVPart2).when(mInboundSmsTrackerPart2).getContentValues();
    }

    @Postsubmit
    @Test
    @MediumTest
    public void testMultiPartSms() {
+2 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ import android.location.CountryDetector;
import android.os.HandlerThread;
import android.os.Message;
import android.os.SystemProperties;
import android.platform.test.annotations.Postsubmit;
import android.provider.Telephony;
import android.test.suitebuilder.annotation.MediumTest;
import android.test.suitebuilder.annotation.SmallTest;
@@ -119,6 +120,7 @@ public class GsmSmsDispatcherTest extends TelephonyTest {
        assertEquals(0, mFakeBlockedNumberContentProvider.mNumEmergencyContactNotifications);
    }

    @Postsubmit
    @Test @MediumTest
    public void testSendSmsToEmergencyNumber_notifiesBlockedNumberProvider() throws Exception {
        setupMockPackagePermissionChecks();