Commit ab9f8889 authored by Andy Paicu's avatar Andy Paicu Committed by Commit Bot

Disabled failing ClientSideDetectionServiceTest tests

TBR=drubery@chromium.org

Bug: 1096972
Change-Id: Ie7f263090e0b1810c22d3a0c4402a3edd23ca473
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2253741Reviewed-by: default avatarAndy Paicu <andypaicu@chromium.org>
Commit-Queue: Andy Paicu <andypaicu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#780218}
parent d77a0a03
...@@ -337,7 +337,8 @@ TEST_F(ClientSideDetectionServiceTest, IsPrivateIPAddress) { ...@@ -337,7 +337,8 @@ TEST_F(ClientSideDetectionServiceTest, IsPrivateIPAddress) {
EXPECT_TRUE(csd_service_->IsPrivateIPAddress("blah")); EXPECT_TRUE(csd_service_->IsPrivateIPAddress("blah"));
} }
TEST_F(ClientSideDetectionServiceTest, SetEnabledAndRefreshState) { // Failing test (crbug.com/1096972)
TEST_F(ClientSideDetectionServiceTest, DISABLED_SetEnabledAndRefreshState) {
// Check that the model isn't downloaded until the service is enabled. // Check that the model isn't downloaded until the service is enabled.
profile_->GetPrefs()->SetBoolean(prefs::kSafeBrowsingEnabled, false); profile_->GetPrefs()->SetBoolean(prefs::kSafeBrowsingEnabled, false);
csd_service_ = std::make_unique<ClientSideDetectionService>(profile_); csd_service_ = std::make_unique<ClientSideDetectionService>(profile_);
...@@ -383,7 +384,8 @@ TEST_F(ClientSideDetectionServiceTest, SetEnabledAndRefreshState) { ...@@ -383,7 +384,8 @@ TEST_F(ClientSideDetectionServiceTest, SetEnabledAndRefreshState) {
base::RunLoop().RunUntilIdle(); base::RunLoop().RunUntilIdle();
} }
TEST_F(ClientSideDetectionServiceTest, TestModelFollowsPrefs) { // Failing test (crbug.com/1096972)
TEST_F(ClientSideDetectionServiceTest, DISABLED_TestModelFollowsPrefs) {
profile_->GetPrefs()->SetBoolean(prefs::kSafeBrowsingEnabled, false); profile_->GetPrefs()->SetBoolean(prefs::kSafeBrowsingEnabled, false);
profile_->GetPrefs()->SetBoolean(prefs::kSafeBrowsingScoutReportingEnabled, profile_->GetPrefs()->SetBoolean(prefs::kSafeBrowsingScoutReportingEnabled,
false); false);
......
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