Revert "Disabled presubmit for flakey test"

This reverts commit 5bdfb4c1bd.

Reason for revert: fixed the flakyness in ag/3650459

Change-Id: I4a73a0f82a087fb59da79f286e98f0e1f88693b5
This commit is contained in:
Selim Cinek
2018-02-23 03:37:31 +00:00
parent 5bdfb4c1bd
commit d87fdecc9f

View File

@@ -26,7 +26,6 @@ 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;
@@ -77,7 +76,6 @@ 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);
@@ -182,7 +180,6 @@ 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"};