Commit 3cb4105d authored by Wei-Yin Chen (陳威尹)'s avatar Wei-Yin Chen (陳威尹) Committed by Commit Bot

Disable flaky AwNetworkConfigurationTest on Marshmallow Tablet

AwNetworkConfigurationTest#testSHA1LocalAnchorsAllowed is flaky on
Marshmallow Tablet Tester.

TBR=boliu@chromium.org

Bug: 1106472
Change-Id: If0eba515f6b185ba1a7ad83f055c8f110e284676
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2325711Reviewed-by: default avatarWei-Yin Chen (陳威尹) <wychen@chromium.org>
Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#792611}
parent 9cfaae35
......@@ -6,6 +6,7 @@ package org.chromium.android_webview.test;
import static org.chromium.android_webview.test.AwActivityTestRule.WAIT_TIMEOUT_MS;
import android.os.Build.VERSION_CODES;
import android.support.test.InstrumentationRegistry;
import android.webkit.JavascriptInterface;
......@@ -23,6 +24,7 @@ import org.chromium.android_webview.AwContents;
import org.chromium.android_webview.AwContentsClient.AwWebResourceRequest;
import org.chromium.base.BuildInfo;
import org.chromium.base.test.util.CallbackHelper;
import org.chromium.base.test.util.DisableIf;
import org.chromium.base.test.util.Feature;
import org.chromium.net.test.EmbeddedTestServer;
import org.chromium.net.test.ServerCertificate;
......@@ -57,7 +59,11 @@ public class AwNetworkConfigurationTest {
@Test
@SmallTest
@Feature({"AndroidWebView", "Network"})
// clang-format off
@DisableIf.Build(sdk_is_greater_than = VERSION_CODES.LOLLIPOP_MR1,
sdk_is_less_than = VERSION_CODES.N, hardware_is = "flo")
public void testSHA1LocalAnchorsAllowed() throws Throwable {
// clang-format on
mTestServer = EmbeddedTestServer.createAndStartHTTPSServer(
InstrumentationRegistry.getInstrumentation().getContext(),
ServerCertificate.CERT_SHA1_LEAF);
......
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