Commit 7f022a2c authored by suzyh's avatar suzyh Committed by Commit bot

Set flaky testVisualStateCa... to retry on failure

Add @RetryOnFailure annotation for
testVisualStateCallbackNotCalledAfterRendererGone

TBR=tobiasjs@chromium.org
BUG=716763

Review-Url: https://codereview.chromium.org/2851133002
Cr-Commit-Position: refs/heads/master@{#468273}
parent 90f64ebe
...@@ -26,6 +26,7 @@ import org.chromium.base.ThreadUtils; ...@@ -26,6 +26,7 @@ import org.chromium.base.ThreadUtils;
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.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_public.common.ContentUrlConstants; import org.chromium.content_public.common.ContentUrlConstants;
...@@ -175,6 +176,7 @@ public class VisualStateCallbackTest extends AwTestBase { ...@@ -175,6 +176,7 @@ public class VisualStateCallbackTest extends AwTestBase {
// Tests the callback isn't invoked when AwContents knows about render process being gone. // Tests the callback isn't invoked when AwContents knows about render process being gone.
@Feature({"AndroidWebView"}) @Feature({"AndroidWebView"})
@SmallTest @SmallTest
@RetryOnFailure
@CommandLineFlags @CommandLineFlags
.Add(AwSwitches.WEBVIEW_SANDBOXED_RENDERER) .Add(AwSwitches.WEBVIEW_SANDBOXED_RENDERER)
@ParameterizedTest.Set @ParameterizedTest.Set
......
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