OSDN Git Service

Ignore flaky notification test
authorGeoffrey Pitsch <gpitsch@google.com>
Thu, 23 Mar 2017 19:08:57 +0000 (15:08 -0400)
committerGeoffrey Pitsch <gpitsch@google.com>
Thu, 23 Mar 2017 19:13:06 +0000 (15:13 -0400)
Bug: 36551790
Test: runtest systemui-notification
Change-Id: I92f72a90afb2323a847149351bf1c6a911027e0b

services/tests/notification/src/com/android/server/notification/NotificationManagerServiceTest.java

index ab83b9d..4c23d79 100644 (file)
@@ -52,6 +52,7 @@ import java.util.Arrays;
 import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Test;
 
 import com.android.server.lights.Light;
@@ -259,6 +260,7 @@ public class NotificationManagerServiceTest {
 
     @Test
     @UiThreadTest
+    @Ignore("Flaky")
     public void testEnqueueNotificationWithTag_PopulatesGetActiveNotifications() throws Exception {
         mBinderService.enqueueNotificationWithTag(PKG, "opPkg", "tag", 0,
                 generateNotificationRecord(null).getNotification(), new int[1], 0);