Commit 544e233e authored by Tommy Steimel's avatar Tommy Steimel Committed by Commit Bot

[Media Intent Handler] Disable flaky MediaLauncherActivityTest tests

This CL disables the MediaLauncherActivityTest tests that are flaking
due to a race condition.

TBR: mlamouri@chromium.org
Bug: 882938
Change-Id: I61ba23d0e4ed4a8890db8bcc0219ab4ea3804184
Reviewed-on: https://chromium-review.googlesource.com/1220701Reviewed-by: default avatarTommy Steimel <steimel@chromium.org>
Commit-Queue: Tommy Steimel <steimel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#590515}
parent 7051219b
...@@ -22,6 +22,7 @@ import org.junit.runner.RunWith; ...@@ -22,6 +22,7 @@ import org.junit.runner.RunWith;
import org.chromium.base.CollectionUtil; import org.chromium.base.CollectionUtil;
import org.chromium.base.test.util.CommandLineFlags; import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.DisabledTest;
import org.chromium.base.test.util.UrlUtils; import org.chromium.base.test.util.UrlUtils;
import org.chromium.chrome.browser.ChromeSwitches; import org.chromium.chrome.browser.ChromeSwitches;
import org.chromium.chrome.browser.customtabs.SeparateTaskCustomTabActivity; import org.chromium.chrome.browser.customtabs.SeparateTaskCustomTabActivity;
...@@ -60,6 +61,7 @@ public class MediaLauncherActivityTest { ...@@ -60,6 +61,7 @@ public class MediaLauncherActivityTest {
} }
@Test @Test
@DisabledTest(message = "crbug.com/882938")
@SmallTest @SmallTest
public void testHandleVideoIntent() throws Exception { public void testHandleVideoIntent() throws Exception {
String url = TestContentProvider.createContentUrl("media/test.mp4"); String url = TestContentProvider.createContentUrl("media/test.mp4");
...@@ -67,6 +69,7 @@ public class MediaLauncherActivityTest { ...@@ -67,6 +69,7 @@ public class MediaLauncherActivityTest {
} }
@Test @Test
@DisabledTest(message = "crbug.com/882938")
@SmallTest @SmallTest
public void testHandleAudioIntent() throws Exception { public void testHandleAudioIntent() throws Exception {
String url = TestContentProvider.createContentUrl("media/audio.mp3"); String url = TestContentProvider.createContentUrl("media/audio.mp3");
...@@ -74,6 +77,7 @@ public class MediaLauncherActivityTest { ...@@ -74,6 +77,7 @@ public class MediaLauncherActivityTest {
} }
@Test @Test
@DisabledTest(message = "crbug.com/882938")
@SmallTest @SmallTest
public void testHandleImageIntent() throws Exception { public void testHandleImageIntent() throws Exception {
String url = TestContentProvider.createContentUrl("google.png"); String url = TestContentProvider.createContentUrl("google.png");
...@@ -81,6 +85,7 @@ public class MediaLauncherActivityTest { ...@@ -81,6 +85,7 @@ public class MediaLauncherActivityTest {
} }
@Test @Test
@DisabledTest(message = "crbug.com/882938")
@SmallTest @SmallTest
public void testHandleFileURIIntent() throws Exception { public void testHandleFileURIIntent() throws Exception {
String url = UrlUtils.getTestFileUrl("google.png"); String url = UrlUtils.getTestFileUrl("google.png");
......
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