From 5bdfb4c1bd0e3edbf02fe28151ec4e735c7d0adf Mon Sep 17 00:00:00 2001 From: Selim Cinek Date: Thu, 22 Feb 2018 16:13:11 -0800 Subject: [PATCH] Disabled presubmit for flakey test Test: runtest systemui Change-Id: If772052b2c172e62a22958f9996436914d8e8e1b --- .../android/systemui/statusbar/policy/SmartReplyViewTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/SmartReplyViewTest.java b/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/SmartReplyViewTest.java index 58abf19dd238d..92e60f97c6d76 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/SmartReplyViewTest.java +++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/SmartReplyViewTest.java @@ -26,6 +26,7 @@ import android.app.RemoteInput; import android.content.Intent; import android.content.IntentFilter; import android.content.res.Resources; +import android.support.test.filters.FlakyTest; import android.support.test.filters.SmallTest; import android.testing.AndroidTestingRunner; import android.testing.TestableLooper; @@ -76,6 +77,7 @@ public class SmartReplyViewTest extends SysuiTestCase { mSpacing = res.getDimensionPixelSize(R.dimen.smart_reply_button_spacing); } + @FlakyTest @Test public void testSendSmartReply_intentContainsResultsAndSource() throws InterruptedException { setRepliesFromRemoteInput(TEST_CHOICES); @@ -180,6 +182,7 @@ public class SmartReplyViewTest extends SysuiTestCase { assertEqualLayouts(expectedView.getChildAt(2), mView.getChildAt(2)); } + @FlakyTest @Test public void testMeasure_choiceWithThreeLines() { final CharSequence[] choices = new CharSequence[]{"Hi", "Hello\nevery\nbody", "Bye"};