Commit 1b4b09c6 authored by Donn Denman's avatar Donn Denman Committed by Commit Bot

[Bookmarks] Disable testSearchBookmarks on Oreo.

Conditionally disables this test due to flakiness on this configuration.

BUG=906788

TBR=twellington@chromium.org

Change-Id: Ief4f08ae1d9f8c73b3055d136af655498a97892f
Reviewed-on: https://chromium-review.googlesource.com/c/1343361Reviewed-by: default avatarDonn Denman <donnd@chromium.org>
Commit-Queue: Donn Denman <donnd@chromium.org>
Cr-Commit-Position: refs/heads/master@{#609507}
parent 249d82d0
......@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.bookmarks;
import android.os.Build;
import android.support.annotation.Nullable;
import android.support.test.InstrumentationRegistry;
import android.support.test.filters.MediumTest;
......@@ -273,7 +274,10 @@ public class BookmarkTest {
@Test
@MediumTest
public void testSearchBookmarks() throws Exception {
@DisableIf.Build(message = "Disable on Oreo which is flaky now. https://crbug.com/906788",
sdk_is_less_than = Build.VERSION_CODES.P, sdk_is_greater_than = Build.VERSION_CODES.N)
public void
testSearchBookmarks() throws Exception {
BookmarkPromoHeader.forcePromoStateForTests(BookmarkPromoHeader.PromoState.PROMO_SYNC);
addBookmark(TEST_PAGE_TITLE_GOOGLE, mTestPage);
addBookmark(TEST_PAGE_TITLE_FOO, mTestPageFoo);
......
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