Commit 6ae74282 authored by David Trainor's avatar David Trainor Committed by Commit Bot

Disabling flaky tests

Just going to disable SearchActivityTest#... tests that are flaking on
the bots.

Tbr: gangwu@chromium.org
Bug: 1100967
Change-Id: Ia8abe36da611cf2206f5a1edb893ce8930411df0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2295828Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
Commit-Queue: David Trainor <dtrainor@chromium.org>
Auto-Submit: David Trainor <dtrainor@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787886}
parent dc864d5b
...@@ -15,7 +15,6 @@ import android.app.Instrumentation.ActivityMonitor; ...@@ -15,7 +15,6 @@ import android.app.Instrumentation.ActivityMonitor;
import android.content.Intent; import android.content.Intent;
import android.graphics.Bitmap; import android.graphics.Bitmap;
import android.net.Uri; import android.net.Uri;
import android.os.Build;
import android.support.test.InstrumentationRegistry; import android.support.test.InstrumentationRegistry;
import android.view.KeyEvent; import android.view.KeyEvent;
import android.view.ViewGroup; import android.view.ViewGroup;
...@@ -41,7 +40,7 @@ import org.chromium.base.test.params.ParameterSet; ...@@ -41,7 +40,7 @@ import org.chromium.base.test.params.ParameterSet;
import org.chromium.base.test.params.ParameterizedRunner; import org.chromium.base.test.params.ParameterizedRunner;
import org.chromium.base.test.util.CallbackHelper; import org.chromium.base.test.util.CallbackHelper;
import org.chromium.base.test.util.CommandLineFlags; import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.DisableIf; import org.chromium.base.test.util.DisabledTest;
import org.chromium.base.test.util.FlakyTest; import org.chromium.base.test.util.FlakyTest;
import org.chromium.chrome.R; import org.chromium.chrome.R;
import org.chromium.chrome.browser.ChromeTabbedActivity; import org.chromium.chrome.browser.ChromeTabbedActivity;
...@@ -554,8 +553,7 @@ public class SearchActivityTest { ...@@ -554,8 +553,7 @@ public class SearchActivityTest {
@Test @Test
@SmallTest @SmallTest
@DisableIf. @DisabledTest(message = "Flaky - https://crbug.com/1100967")
Build(message = "https://crbug.com/1100967", sdk_is_less_than = Build.VERSION_CODES.M)
@Features. @Features.
EnableFeatures({ChromeFeatureList.OMNIBOX_ENABLE_CLIPBOARD_PROVIDER_IMAGE_SUGGESTIONS}) EnableFeatures({ChromeFeatureList.OMNIBOX_ENABLE_CLIPBOARD_PROVIDER_IMAGE_SUGGESTIONS})
public void testImageSearch() throws InterruptedException, Exception { public void testImageSearch() throws InterruptedException, Exception {
...@@ -636,8 +634,7 @@ public class SearchActivityTest { ...@@ -636,8 +634,7 @@ public class SearchActivityTest {
@Test @Test
@SmallTest @SmallTest
@DisableIf. @DisabledTest(message = "Flaky - https://crbug.com/1100967")
Build(message = "https://crbug.com/1100967", sdk_is_less_than = Build.VERSION_CODES.M)
@Features. @Features.
EnableFeatures({ChromeFeatureList.OMNIBOX_ENABLE_CLIPBOARD_PROVIDER_IMAGE_SUGGESTIONS}) EnableFeatures({ChromeFeatureList.OMNIBOX_ENABLE_CLIPBOARD_PROVIDER_IMAGE_SUGGESTIONS})
public void testImageSearch_OnlyTrustedIntentCanPost() throws InterruptedException, Exception { public void testImageSearch_OnlyTrustedIntentCanPost() throws InterruptedException, Exception {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment