summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2017-12-08 17:12:46 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-12-08 17:12:46 +0000
commit23627fbff5f13629e997a00b006a1ebdc423e735 (patch)
tree79575a6a96f820209f24fd08dbf1d7d3384cf654
parent82a6467cd812f0b97089d701172b23161e6c1d03 (diff)
parent69048f4d2146b953c256b954b0e021379a4f8140 (diff)
Merge "Annotate a couple flakytests in ScheduleCalendarTest"
-rw-r--r--services/tests/uiservicestests/src/com/android/server/notification/ScheduleCalendarTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/tests/uiservicestests/src/com/android/server/notification/ScheduleCalendarTest.java b/services/tests/uiservicestests/src/com/android/server/notification/ScheduleCalendarTest.java
index 4eb42201f072..5ebfd488eb97 100644
--- a/services/tests/uiservicestests/src/com/android/server/notification/ScheduleCalendarTest.java
+++ b/services/tests/uiservicestests/src/com/android/server/notification/ScheduleCalendarTest.java
@@ -23,6 +23,7 @@ import static org.junit.Assert.assertTrue;
import android.service.notification.ScheduleCalendar;
import android.service.notification.ZenModeConfig;
+import android.support.test.filters.FlakyTest;
import android.support.test.runner.AndroidJUnit4;
import android.test.suitebuilder.annotation.SmallTest;
@@ -257,6 +258,7 @@ public class ScheduleCalendarTest extends NotificationTestCase {
}
@Test
+ @FlakyTest
public void testIsInSchedule_inScheduleOvernight() {
Calendar cal = new GregorianCalendar();
cal.set(Calendar.HOUR_OF_DAY, 23);
@@ -273,6 +275,7 @@ public class ScheduleCalendarTest extends NotificationTestCase {
}
@Test
+ @FlakyTest
public void testIsInSchedule_inScheduleSingleDay() {
Calendar cal = new GregorianCalendar();
cal.set(Calendar.HOUR_OF_DAY, 14);