0

[Android] Convert android.emulator_15.webview_instrumentation_test_apk.filter

Convert to @DisableIf. This makes the test run on Test Reviver.

Bug: 383607849
Change-Id: Ibf7e1dc2e1696177d36546c9d7c0aa6aa5337d68
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6092334
Auto-Submit: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Nate Fischer <ntfschr@chromium.org>
Reviewed-by: Nate Fischer <ntfschr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1395683}
This commit is contained in:
Henrique Nakashima
2024-12-12 16:29:33 -08:00
committed by Chromium LUCI CQ
parent 606c526db0
commit bfd4b59f24
3 changed files with 5 additions and 4 deletions

@@ -7,6 +7,7 @@ package org.chromium.android_webview.test;
import static org.chromium.android_webview.test.OnlyRunIn.ProcessMode.EITHER_PROCESS; import static org.chromium.android_webview.test.OnlyRunIn.ProcessMode.EITHER_PROCESS;
import android.content.Intent; import android.content.Intent;
import android.os.Build;
import android.os.Bundle; import android.os.Bundle;
import android.os.Handler; import android.os.Handler;
import android.os.Looper; import android.os.Looper;
@@ -31,6 +32,7 @@ import org.chromium.android_webview.variations.VariationsSeedLoader;
import org.chromium.base.ContextUtils; import org.chromium.base.ContextUtils;
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.DisableIf;
import org.chromium.base.test.util.HistogramWatcher; import org.chromium.base.test.util.HistogramWatcher;
import java.io.File; import java.io.File;
@@ -388,6 +390,9 @@ public class VariationsSeedLoaderTest extends AwParameterizedTest {
@Test @Test
@MediumTest @MediumTest
@CommandLineFlags.Add(AwSwitches.FINCH_SEED_EXPIRATION_AGE + "=0") @CommandLineFlags.Add(AwSwitches.FINCH_SEED_EXPIRATION_AGE + "=0")
@DisableIf.Build(
sdk_is_greater_than = Build.VERSION_CODES.TIRAMISU,
message = "crbug.com/351017155")
public void testFinchSeedExpirationAgeFlag() throws Exception { public void testFinchSeedExpirationAgeFlag() throws Exception {
try { try {
// Create a new seed file with a recent timestamp. // Create a new seed file with a recent timestamp.

@@ -1,2 +0,0 @@
# crbug.com/351017155
-org.chromium.android_webview.test.VariationsSeedLoaderTest.testFinchSeedExpirationAgeFlag

@@ -1,2 +0,0 @@
# crbug.com/351017155
-org.chromium.android_webview.test.VariationsSeedLoaderTest.testFinchSeedExpirationAgeFlag