Commit 3eb836af authored by Hayato Ito's avatar Hayato Ito Committed by Commit Bot

Sheriff: Disable the test on Mac

TBR=skobes@chromium.org

Bug: 1098148
Change-Id: Ibc578fa86a0e79a119436b1b33146d10d24038f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2259394Reviewed-by: default avatarHayato Ito <hayato@chromium.org>
Commit-Queue: Hayato Ito <hayato@chromium.org>
Cr-Commit-Position: refs/heads/master@{#781186}
parent 2a9190c6
...@@ -4,13 +4,20 @@ ...@@ -4,13 +4,20 @@
#include "chrome/browser/page_load_metrics/integration_tests/metric_integration_test.h" #include "chrome/browser/page_load_metrics/integration_tests/metric_integration_test.h"
#include "build/build_config.h"
#include "chrome/test/base/ui_test_utils.h" #include "chrome/test/base/ui_test_utils.h"
#include "content/public/test/browser_test.h" #include "content/public/test/browser_test.h"
#include "services/metrics/public/cpp/ukm_builders.h" #include "services/metrics/public/cpp/ukm_builders.h"
using ukm::builders::PageLoad; using ukm::builders::PageLoad;
IN_PROC_BROWSER_TEST_F(MetricIntegrationTest, FirstScrollDelay) { // http://crbug.com/1098148
#if defined(OS_MACOSX)
#define MAYBE_FirstScrollDelay DISABLED_FirstScrollDelay
#else
#define MAYBE_FirstScrollDelay FirstScrollDelay
#endif
IN_PROC_BROWSER_TEST_F(MetricIntegrationTest, MAYBE_FirstScrollDelay) {
LoadHTML(R"HTML( LoadHTML(R"HTML(
<div id="content"> <div id="content">
<p>This is some text</p> <p>This is some text</p>
...@@ -54,4 +61,4 @@ IN_PROC_BROWSER_TEST_F(MetricIntegrationTest, FirstScrollDelay) { ...@@ -54,4 +61,4 @@ IN_PROC_BROWSER_TEST_F(MetricIntegrationTest, FirstScrollDelay) {
entries.erase(std::remove_if(entries.begin(), entries.end(), name_filter), entries.erase(std::remove_if(entries.begin(), entries.end(), name_filter),
entries.end()); entries.end());
EXPECT_EQ(1ul, entries.size()); EXPECT_EQ(1ul, entries.size());
} }
\ No newline at end of file
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