Commit 30e4788c authored by Alexandr Ilin's avatar Alexandr Ilin Committed by Commit Bot

Add retry to MediaRouterIntegrationTest.testFailCreateRoute

The test is flaky on Lollipop Phone Tester

Bug: 774451
Change-Id: Idebf57f1a19b991d2e437b0feaed4dff1dd1c21d
TBR: mlamouri@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/809045Reviewed-by: default avatarAlexandr Ilin <alexilin@chromium.org>
Commit-Queue: Alexandr Ilin <alexilin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#521696}
parent 3a991f17
...@@ -296,6 +296,7 @@ public class MediaRouterIntegrationTest { ...@@ -296,6 +296,7 @@ public class MediaRouterIntegrationTest {
@Restriction({UiRestriction.RESTRICTION_TYPE_PHONE, RESTRICTION_TYPE_NON_LOW_END_DEVICE}) @Restriction({UiRestriction.RESTRICTION_TYPE_PHONE, RESTRICTION_TYPE_NON_LOW_END_DEVICE})
@Feature({"MediaRouter"}) @Feature({"MediaRouter"})
@LargeTest @LargeTest
@RetryOnFailure
public void testFailCreateRoute() throws InterruptedException, TimeoutException { public void testFailCreateRoute() throws InterruptedException, TimeoutException {
MockMediaRouteProvider.Factory.sProvider.setCreateRouteErrorMessage("Unknown sink"); MockMediaRouteProvider.Factory.sProvider.setCreateRouteErrorMessage("Unknown sink");
mActivityTestRule.loadUrl(mTestServer.getURL(TEST_PAGE)); mActivityTestRule.loadUrl(mTestServer.getURL(TEST_PAGE));
......
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