Commit 5a8f1c59 authored by Henrik Boström's avatar Henrik Boström Committed by Commit Bot

Disable flaky ScreenshotTabObserverTest tests (retry).

TBR=petewil@chromium.org, jianli@chromium.org, dtrainor@chromium.org, isherman@chromium.org
NOTRY=True

Bug: 901856
Change-Id: Icea45c9f384c1ad4a46e24a9fb4ee947a1b57a53
Reviewed-on: https://chromium-review.googlesource.com/c/1319593Reviewed-by: default avatarHenrik Boström <hbos@chromium.org>
Commit-Queue: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#605665}
parent d0700345
...@@ -14,6 +14,7 @@ import org.junit.runner.RunWith; ...@@ -14,6 +14,7 @@ import org.junit.runner.RunWith;
import org.chromium.base.ThreadUtils; import org.chromium.base.ThreadUtils;
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.MetricsUtils; import org.chromium.base.test.util.MetricsUtils;
import org.chromium.base.test.util.UserActionTester; import org.chromium.base.test.util.UserActionTester;
import org.chromium.chrome.browser.ChromeActivity; import org.chromium.chrome.browser.ChromeActivity;
...@@ -57,8 +58,10 @@ public class ScreenshotTabObserverTest { ...@@ -57,8 +58,10 @@ public class ScreenshotTabObserverTest {
}); });
} }
// Disabled due to flakiness. https://crbug.com/901856
@Test @Test
@SmallTest @SmallTest
@DisabledTest
public void testScreenshotNumberReportingOne() { public void testScreenshotNumberReportingOne() {
MetricsUtils.HistogramDelta histogramDeltaZeroScreenshots = MetricsUtils.HistogramDelta histogramDeltaZeroScreenshots =
new MetricsUtils.HistogramDelta("Tab.Screenshot.ScreenshotsPerPage", 0); new MetricsUtils.HistogramDelta("Tab.Screenshot.ScreenshotsPerPage", 0);
...@@ -77,8 +80,10 @@ public class ScreenshotTabObserverTest { ...@@ -77,8 +80,10 @@ public class ScreenshotTabObserverTest {
histogramDeltaTwoScreenshots.getDelta()); histogramDeltaTwoScreenshots.getDelta());
} }
// Disabled due to flakiness. https://crbug.com/901856
@Test @Test
@SmallTest @SmallTest
@DisabledTest
public void testScreenshotNumberReportingTwo() { public void testScreenshotNumberReportingTwo() {
MetricsUtils.HistogramDelta histogramDeltaTwoScreenshots = MetricsUtils.HistogramDelta histogramDeltaTwoScreenshots =
new MetricsUtils.HistogramDelta("Tab.Screenshot.ScreenshotsPerPage", 2); new MetricsUtils.HistogramDelta("Tab.Screenshot.ScreenshotsPerPage", 2);
...@@ -89,8 +94,10 @@ public class ScreenshotTabObserverTest { ...@@ -89,8 +94,10 @@ public class ScreenshotTabObserverTest {
histogramDeltaTwoScreenshots.getDelta()); histogramDeltaTwoScreenshots.getDelta());
} }
// Disabled due to flakiness. https://crbug.com/901856
@Test @Test
@SmallTest @SmallTest
@DisabledTest
public void testScreenshotActionReporting() { public void testScreenshotActionReporting() {
MetricsUtils.HistogramDelta histogramDeltaScreenshotNoAction = MetricsUtils.HistogramDelta histogramDeltaScreenshotNoAction =
new MetricsUtils.HistogramDelta("Tab.Screenshot.Action", 0); new MetricsUtils.HistogramDelta("Tab.Screenshot.Action", 0);
......
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