From 2654b6e2381e8f670c321a17196e18455120e2a0 Mon Sep 17 00:00:00 2001 From: Nikita Dubrovsky Date: Tue, 30 Jun 2020 13:14:28 -0700 Subject: [PATCH] Remove flaky test for cursor drag from presubmit These tests run fine in isolation (verified both on a physical Pixel 3 and on a Cuttlefish emulator via acloud), but are flaky in presubmits. Bug: 159764993 Test: Presubmit Change-Id: Ia27e05543e2647c42e06a684a3ae5c11c074a5fb Merged-In: Ia27e05543e2647c42e06a684a3ae5c11c074a5fb (cherry picked from commit 9d296cdd987c55938e4dbd56f8c41c7d9ffd767e) --- .../coretests/src/android/widget/EditorCursorDragTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/tests/coretests/src/android/widget/EditorCursorDragTest.java b/core/tests/coretests/src/android/widget/EditorCursorDragTest.java index 89cc6e743752c..d2ad2eb6193ef 100644 --- a/core/tests/coretests/src/android/widget/EditorCursorDragTest.java +++ b/core/tests/coretests/src/android/widget/EditorCursorDragTest.java @@ -37,7 +37,6 @@ import static org.junit.Assert.assertTrue; import android.app.Activity; import android.app.Instrumentation; import android.graphics.Rect; -import android.platform.test.annotations.Presubmit; import android.text.Layout; import android.text.Spannable; import android.text.SpannableString; @@ -96,7 +95,6 @@ public class EditorCursorDragTest { mMotionEvents.clear(); } - @Presubmit @Test public void testCursorDrag_horizontal_whenTextViewContentsFitOnScreen() throws Throwable { String text = "Hello world!";