Commit 49ad1ffd authored by Xida Chen's avatar Xida Chen Committed by Commit Bot

Disable HttpCredentialCleanerTest.ReportHttpMigrationMetrics on Mac

TBR=hbos@chromium.org
NOTRY=true

Bug: 1010016
Change-Id: Ifff6105c6f46a35d8248f1c5c70237a104e8d714
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1833311Reviewed-by: default avatarXida Chen <xidachen@chromium.org>
Commit-Queue: Xida Chen <xidachen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#701542}
parent cc6d27eb
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include "base/test/metrics/histogram_tester.h" #include "base/test/metrics/histogram_tester.h"
#include "base/test/task_environment.h" #include "base/test/task_environment.h"
#include "base/time/time.h" #include "base/time/time.h"
#include "build/build_config.h"
#include "components/password_manager/core/browser/password_manager_util.h" #include "components/password_manager/core/browser/password_manager_util.h"
#include "components/password_manager/core/browser/test_password_store.h" #include "components/password_manager/core/browser/test_password_store.h"
#include "components/password_manager/core/common/password_manager_pref_names.h" #include "components/password_manager/core/common/password_manager_pref_names.h"
...@@ -123,7 +124,12 @@ class HttpCredentialCleanerTest : public ::testing::TestWithParam<TestCase> { ...@@ -123,7 +124,12 @@ class HttpCredentialCleanerTest : public ::testing::TestWithParam<TestCase> {
DISALLOW_COPY_AND_ASSIGN(HttpCredentialCleanerTest); DISALLOW_COPY_AND_ASSIGN(HttpCredentialCleanerTest);
}; };
TEST_P(HttpCredentialCleanerTest, ReportHttpMigrationMetrics) { #if defined(OS_MACOSX)
#define MAYBE_ReportHttpMigrationMetrics DISABLED_ReportHttpMigrationMetrics
#else
#define MAYBE_ReportHttpMigrationMetrics ReportHttpMigrationMetrics
#endif
TEST_P(HttpCredentialCleanerTest, MAYBE_ReportHttpMigrationMetrics) {
struct Histogram { struct Histogram {
bool test_hsts_enabled; bool test_hsts_enabled;
HttpCredentialType test_type; HttpCredentialType test_type;
......
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