From 32c64cbd9cbb65812596ac2cf88fd2b43241a872 Mon Sep 17 00:00:00 2001 From: Hawkwood Glazier Date: Mon, 5 Dec 2022 21:08:48 +0000 Subject: [PATCH] Disable NotificationPanelViewControllerTest.*_returnSpaceAvailable These tests appear inconsistent now. It's not flaky, but it does appear to change depending on the test environment. Bug: 261472011 Test: atest NotificationPanelViewControllerTest Change-Id: I6fc772d1ee85971072147e073b15f1feb8137107 --- .../systemui/shade/NotificationPanelViewControllerTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/SystemUI/tests/src/com/android/systemui/shade/NotificationPanelViewControllerTest.java b/packages/SystemUI/tests/src/com/android/systemui/shade/NotificationPanelViewControllerTest.java index 56a840cae267e..0302dade0a8ca 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/shade/NotificationPanelViewControllerTest.java +++ b/packages/SystemUI/tests/src/com/android/systemui/shade/NotificationPanelViewControllerTest.java @@ -173,6 +173,7 @@ import com.android.wm.shell.animation.FlingAnimationUtils; import org.junit.After; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; @@ -611,6 +612,7 @@ public class NotificationPanelViewControllerTest extends SysuiTestCase { } @Test + @Ignore("b/261472011 - Test appears inconsistent across environments") public void getVerticalSpaceForLockscreenNotifications_useLockIconBottomPadding_returnsSpaceAvailable() { setBottomPadding(/* stackScrollLayoutBottom= */ 180, /* lockIconPadding= */ 20, @@ -622,6 +624,7 @@ public class NotificationPanelViewControllerTest extends SysuiTestCase { } @Test + @Ignore("b/261472011 - Test appears inconsistent across environments") public void getVerticalSpaceForLockscreenNotifications_useIndicationBottomPadding_returnsSpaceAvailable() { setBottomPadding(/* stackScrollLayoutBottom= */ 180, /* lockIconPadding= */ 0, @@ -633,6 +636,7 @@ public class NotificationPanelViewControllerTest extends SysuiTestCase { } @Test + @Ignore("b/261472011 - Test appears inconsistent across environments") public void getVerticalSpaceForLockscreenNotifications_useAmbientBottomPadding_returnsSpaceAvailable() { setBottomPadding(/* stackScrollLayoutBottom= */ 180, /* lockIconPadding= */ 0,