Mark ListPopupWindowTest#testAnchoring as large and flaky.
ListPopupWindowTest#testAnchoring has been flaky so mark it @LargeTest
and @FlakyTest to prevent it from it being run as presubmit.
Test: None
Bug: 33669575
Change-Id: Ife7681daec5997c05ec2d5c3e8d8e15f4da00cf0
diff --git a/v7/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.java b/v7/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.java
index 44c05ae..34c07a3 100644
--- a/v7/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.java
+++ b/v7/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.java
@@ -43,6 +43,8 @@
import android.graphics.Rect;
import android.os.SystemClock;
import android.support.test.InstrumentationRegistry;
+import android.support.test.filters.FlakyTest;
+import android.support.test.filters.LargeTest;
import android.support.test.filters.MediumTest;
import android.support.test.filters.SmallTest;
import android.support.v7.app.BaseInstrumentationTestCase;
@@ -125,8 +127,9 @@
.check(matches(isDisplayed()));
}
+ @FlakyTest(bugId = 33669575)
@Test
- @SmallTest
+ @LargeTest
public void testAnchoring() {
Builder popupBuilder = new Builder();
popupBuilder.wireToActionButton();