Commit fbdbb6d5 authored by Donn Denman's avatar Donn Denman Committed by Commit Bot

[TTS] Restrict tests that are flaking on KitKat.

Changes some Contextual Search tests that are flaking on KitKat.
Now they only run on Android-L or later.

BUG=818897

Change-Id: I97b10e45b055ccc8b05dce569b44c8f987c13d90
Reviewed-on: https://chromium-review.googlesource.com/953563
Commit-Queue: Donn Denman <donnd@chromium.org>
Reviewed-by: default avatarTheresa <twellington@chromium.org>
Cr-Commit-Position: refs/heads/master@{#542033}
parent 2943ded4
......@@ -1559,6 +1559,7 @@ public class ContextualSearchManagerTest {
@Test
@SmallTest
@Feature({"ContextualSearch"})
@DisableIf.Build(sdk_is_less_than = Build.VERSION_CODES.LOLLIPOP, message = "crbug.com/818897")
public void testLongPressGestureFollowedByTapDoesntSelect()
throws InterruptedException, TimeoutException {
longPressNode("intelligence");
......@@ -2186,9 +2187,9 @@ public class ContextualSearchManagerTest {
@Test
@LargeTest
@Feature({"ContextualSearch"})
@DisableIf.Build(sdk_is_less_than = Build.VERSION_CODES.LOLLIPOP, message = "crbug.com/818897")
public void testTapALot() throws InterruptedException, TimeoutException {
// TODO(donnd): bump up to 50 or 100 once Mojo race fixed. See https://crbug.com/818897.
for (int i = 0; i < 10; i++) {
for (int i = 0; i < 50; i++) {
clickToTriggerPrefetch();
assertSearchTermRequested();
}
......
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