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

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

Merge "Get flaky test out of pre-submit and move non-flaky test into it."

parents 73f89317 6a938aae
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ import static org.junit.Assert.assertTrue;
import android.os.SystemClock;
import android.platform.test.annotations.Presubmit;

import androidx.test.filters.FlakyTest;
import androidx.test.filters.MediumTest;

import org.junit.After;
@@ -157,6 +158,7 @@ public class PersisterQueueTests implements PersisterQueue.Listener {
    }

    @Test
    @FlakyTest(bugId = 128526085)
    public void testProcessTwoItems_OneAfterAnother() throws Exception {
        // First item
        mLatch = new CountDownLatch(1);
+2 −0
Original line number Diff line number Diff line
@@ -100,6 +100,7 @@ public class TaskStackChangedListenerTest {
    }

    @Test
    @Presubmit
    public void testTaskDescriptionChanged() throws Exception {
        final Object[] params = new Object[2];
        final CountDownLatch latch = new CountDownLatch(1);
@@ -132,6 +133,7 @@ public class TaskStackChangedListenerTest {
    }

    @Test
    @Presubmit
    public void testActivityRequestedOrientationChanged() throws Exception {
        final int[] params = new int[2];
        final CountDownLatch latch = new CountDownLatch(1);