Commit b5bd1225 authored by boliu's avatar boliu Committed by Commit bot

Mark flaky android_webview_test as @RetryOnFailure

BUG=619055

Review-Url: https://codereview.chromium.org/2326743002
Cr-Commit-Position: refs/heads/master@{#417408}
parent 872147e3
...@@ -16,6 +16,7 @@ import org.chromium.android_webview.test.util.JavascriptEventObserver; ...@@ -16,6 +16,7 @@ import org.chromium.android_webview.test.util.JavascriptEventObserver;
import org.chromium.base.ThreadUtils; import org.chromium.base.ThreadUtils;
import org.chromium.base.annotations.SuppressFBWarnings; import org.chromium.base.annotations.SuppressFBWarnings;
import org.chromium.base.test.util.Feature; import org.chromium.base.test.util.Feature;
import org.chromium.base.test.util.RetryOnFailure;
import org.chromium.base.test.util.parameter.ParameterizedTest; import org.chromium.base.test.util.parameter.ParameterizedTest;
import org.chromium.content.browser.test.util.CallbackHelper; import org.chromium.content.browser.test.util.CallbackHelper;
import org.chromium.content_public.browser.GestureStateListener; import org.chromium.content_public.browser.GestureStateListener;
...@@ -440,6 +441,7 @@ public class AndroidScrollIntegrationTest extends AwTestBase { ...@@ -440,6 +441,7 @@ public class AndroidScrollIntegrationTest extends AwTestBase {
@SmallTest @SmallTest
@Feature({"AndroidWebView"}) @Feature({"AndroidWebView"})
@ParameterizedTest.Set // crbug.com/616505 @ParameterizedTest.Set // crbug.com/616505
@RetryOnFailure
public void testTouchScrollCanBeAlteredByUi() throws Throwable { public void testTouchScrollCanBeAlteredByUi() throws Throwable {
final TestAwContentsClient contentsClient = new TestAwContentsClient(); final TestAwContentsClient contentsClient = new TestAwContentsClient();
final ScrollTestContainerView testContainerView = final ScrollTestContainerView testContainerView =
......
...@@ -32,6 +32,7 @@ import org.chromium.android_webview.test.util.VideoTestUtil; ...@@ -32,6 +32,7 @@ import org.chromium.android_webview.test.util.VideoTestUtil;
import org.chromium.android_webview.test.util.VideoTestWebServer; import org.chromium.android_webview.test.util.VideoTestWebServer;
import org.chromium.base.test.util.DisabledTest; import org.chromium.base.test.util.DisabledTest;
import org.chromium.base.test.util.Feature; import org.chromium.base.test.util.Feature;
import org.chromium.base.test.util.RetryOnFailure;
import org.chromium.base.test.util.TestFileUtil; import org.chromium.base.test.util.TestFileUtil;
import org.chromium.base.test.util.UrlUtils; import org.chromium.base.test.util.UrlUtils;
import org.chromium.content.browser.test.util.CallbackHelper; import org.chromium.content.browser.test.util.CallbackHelper;
...@@ -2638,6 +2639,7 @@ public class AwSettingsTest extends AwTestBase { ...@@ -2638,6 +2639,7 @@ public class AwSettingsTest extends AwTestBase {
@SmallTest @SmallTest
@Feature({"AndroidWebView", "Preferences"}) @Feature({"AndroidWebView", "Preferences"})
@RetryOnFailure
public void testForceZeroLayoutHeightViewportTagWithTwoViews() throws Throwable { public void testForceZeroLayoutHeightViewportTagWithTwoViews() throws Throwable {
ViewPair views = createViews(); ViewPair views = createViews();
runPerViewSettingsTest( runPerViewSettingsTest(
......
...@@ -9,6 +9,7 @@ import android.test.suitebuilder.annotation.SmallTest; ...@@ -9,6 +9,7 @@ import android.test.suitebuilder.annotation.SmallTest;
import org.chromium.android_webview.AwContents; import org.chromium.android_webview.AwContents;
import org.chromium.android_webview.test.util.CommonResources; import org.chromium.android_webview.test.util.CommonResources;
import org.chromium.base.test.util.Feature; import org.chromium.base.test.util.Feature;
import org.chromium.base.test.util.RetryOnFailure;
import org.chromium.content.browser.ContentViewCore; import org.chromium.content.browser.ContentViewCore;
import org.chromium.content.browser.test.util.Criteria; import org.chromium.content.browser.test.util.Criteria;
import org.chromium.content.browser.test.util.CriteriaHelper; import org.chromium.content.browser.test.util.CriteriaHelper;
...@@ -67,6 +68,7 @@ public class PopupWindowTest extends AwTestBase { ...@@ -67,6 +68,7 @@ public class PopupWindowTest extends AwTestBase {
@SmallTest @SmallTest
@Feature({"AndroidWebView"}) @Feature({"AndroidWebView"})
@RetryOnFailure
public void testOnPageFinishedCalledOnDomModificationAfterNavigation() throws Throwable { public void testOnPageFinishedCalledOnDomModificationAfterNavigation() throws Throwable {
final String popupPath = "/popup.html"; final String popupPath = "/popup.html";
final String parentPageHtml = CommonResources.makeHtmlPageFrom("", "<script>" final String parentPageHtml = CommonResources.makeHtmlPageFrom("", "<script>"
......
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