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

Commit 32c64cbd authored by Hawkwood Glazier's avatar Hawkwood Glazier
Browse files

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
parent 53827bfa
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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,