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

Disable a GC test in StartSurfaceLayoutTest on Oreo

This CL disables the testActivityCanBeGarbageCollectedAfterFinished test
on SDK version >= Android O.

TBR=meiliang@chromium.org

Bug: 1081909
Change-Id: I867a53125eef1798059d1537b18684caff33f0c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2200356Reviewed-by: default avatarWei-Yin Chen (陳威尹) <wychen@chromium.org>
Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#768581}
parent ae81e524
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
package org.chromium.chrome.features.start_surface; package org.chromium.chrome.features.start_surface;
import static android.os.Build.VERSION_CODES.N_MR1;
import static android.os.Build.VERSION_CODES.O_MR1; import static android.os.Build.VERSION_CODES.O_MR1;
import static android.support.test.espresso.Espresso.onView; import static android.support.test.espresso.Espresso.onView;
import static android.support.test.espresso.action.ViewActions.click; import static android.support.test.espresso.action.ViewActions.click;
...@@ -1686,7 +1687,7 @@ public class StartSurfaceLayoutTest { ...@@ -1686,7 +1687,7 @@ public class StartSurfaceLayoutTest {
@Test @Test
@MediumTest @MediumTest
@DisableIf.Build(sdk_is_greater_than = O_MR1, message = "crbug.com/1077191") @DisableIf.Build(sdk_is_greater_than = N_MR1, message = "crbug.com/1077191, crbug.com/1081909")
public void testActivityCanBeGarbageCollectedAfterFinished() throws Exception { public void testActivityCanBeGarbageCollectedAfterFinished() throws Exception {
prepareTabs(1, 0, "about:blank"); prepareTabs(1, 0, "about:blank");
......
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