Commit 2b78d8db authored by Theresa Wellington's avatar Theresa Wellington Committed by Commit Bot

Disable two StartupLoadingMetricsTest tests on O+

Disable flaky #testStartWithUrlRecorded and #testFromExternalAppRecorded
on O+.

BUG=1023433
TBR=alexilin@chromium.org

Change-Id: Ic3111d8cdd1af44003b3ffc6e211d330583b222f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1911702Reviewed-by: default avatarTheresa  <twellington@chromium.org>
Reviewed-by: default avatarAlex Ilin <alexilin@chromium.org>
Commit-Queue: Theresa  <twellington@chromium.org>
Cr-Commit-Position: refs/heads/master@{#714510}
parent 1e1ae7e2
...@@ -23,6 +23,7 @@ import org.chromium.base.library_loader.LibraryLoader; ...@@ -23,6 +23,7 @@ import org.chromium.base.library_loader.LibraryLoader;
import org.chromium.base.library_loader.LoadStatusRecorder.LoadLibraryStatus; import org.chromium.base.library_loader.LoadStatusRecorder.LoadLibraryStatus;
import org.chromium.base.metrics.RecordHistogram; import org.chromium.base.metrics.RecordHistogram;
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.RetryOnFailure; import org.chromium.base.test.util.RetryOnFailure;
import org.chromium.chrome.browser.ChromeSwitches; import org.chromium.chrome.browser.ChromeSwitches;
import org.chromium.chrome.browser.ChromeTabbedActivity; import org.chromium.chrome.browser.ChromeTabbedActivity;
...@@ -150,6 +151,8 @@ public class StartupLoadingMetricsTest { ...@@ -150,6 +151,8 @@ public class StartupLoadingMetricsTest {
@Test @Test
@LargeTest @LargeTest
@RetryOnFailure @RetryOnFailure
@DisableIf.Build(sdk_is_greater_than = Build.VERSION_CODES.N_MR1,
message = "https://crbug.com/1023433")
public void testStartWithURLRecorded() throws Exception { public void testStartWithURLRecorded() throws Exception {
runAndWaitForPageLoadMetricsRecorded( runAndWaitForPageLoadMetricsRecorded(
() -> mTabbedActivityTestRule.startMainActivityWithURL(mTestPage)); () -> mTabbedActivityTestRule.startMainActivityWithURL(mTestPage));
...@@ -218,6 +221,8 @@ public class StartupLoadingMetricsTest { ...@@ -218,6 +221,8 @@ public class StartupLoadingMetricsTest {
@Test @Test
@LargeTest @LargeTest
@RetryOnFailure @RetryOnFailure
@DisableIf.Build(sdk_is_greater_than = Build.VERSION_CODES.N_MR1,
message = "https://crbug.com/1023433")
public void testFromExternalAppRecorded() throws Exception { public void testFromExternalAppRecorded() throws Exception {
runAndWaitForPageLoadMetricsRecorded( runAndWaitForPageLoadMetricsRecorded(
() -> mTabbedActivityTestRule.startMainActivityFromExternalApp(mTestPage, null)); () -> mTabbedActivityTestRule.startMainActivityFromExternalApp(mTestPage, null));
......
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