Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/PolicyUrlFilteringTest.java

Issue 2365783003: android: Mark flaky tests with @RetryOnFailure (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/javatests/src/org/chromium/android_webview/test/PolicyUrlFilteringTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/PolicyUrlFilteringTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/PolicyUrlFilteringTest.java
index 044452d80848a61d44ac608f9410145b39cdb4ab..da3ce405714b12c40a1c0b169bfffa4cd60332db 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/PolicyUrlFilteringTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/PolicyUrlFilteringTest.java
@@ -13,6 +13,7 @@ import org.chromium.android_webview.ErrorCodeConversionHelper;
import org.chromium.android_webview.policy.AwPolicyProvider;
import org.chromium.base.ThreadUtils;
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.content.browser.test.util.TestCallbackHelperContainer;
import org.chromium.net.test.util.TestWebServer;
@@ -63,6 +64,7 @@ public class PolicyUrlFilteringTest extends AwTestBase {
@Feature({"AndroidWebView", "Policy"})
// Run in single process only. crbug.com/615484
@ParameterizedTest.Set
+ @RetryOnFailure
public void testBlacklistedUrl() throws Throwable {
final AwPolicyProvider testProvider =
new AwPolicyProvider(getActivity().getApplicationContext());

Powered by Google App Engine
This is Rietveld 408576698