Commit d8cfe1a5 authored by Ian Clelland's avatar Ian Clelland Committed by Commit Bot

Disable failing RepeatableQueriesServiceTest test on iOS

Bug: 1150909
TBR: mahmadi@chromium.org
Change-Id: I50809a7364240ebfb87d6da058f9548ab83461cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2550244Reviewed-by: default avatarIan Clelland <iclelland@chromium.org>
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Cr-Commit-Position: refs/heads/master@{#829314}
parent 9df982cc
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include "base/strings/utf_string_conversions.h" #include "base/strings/utf_string_conversions.h"
#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 "build/build_config.h"
#include "components/bookmarks/browser/bookmark_model.h" #include "components/bookmarks/browser/bookmark_model.h"
#include "components/bookmarks/test/test_bookmark_client.h" #include "components/bookmarks/test/test_bookmark_client.h"
#include "components/history/core/browser/history_service.h" #include "components/history/core/browser/history_service.h"
...@@ -548,7 +549,16 @@ TEST_F(RepeatableQueriesServiceTest, SignedIn_Deletion) { ...@@ -548,7 +549,16 @@ TEST_F(RepeatableQueriesServiceTest, SignedIn_Deletion) {
EXPECT_EQ(expected_server_queries, service()->repeatable_queries()); EXPECT_EQ(expected_server_queries, service()->repeatable_queries());
} }
TEST_F(RepeatableQueriesServiceTest, SignedOut_DefaultSearchProviderChanged) { // TODO(crbug.com/1150909) Test fails on iOS simulators
#if defined(OS_IOS)
#define MAYBE_SignedOut_DefaultSearchProviderChanged \
DISABLED_SignedOut_DefaultSearchProviderChanged
#else
#define MAYBE_SignedOut_DefaultSearchProviderChanged \
SignedOut_DefaultSearchProviderChanged
#endif
TEST_F(RepeatableQueriesServiceTest,
MAYBE_SignedOut_DefaultSearchProviderChanged) {
int original_query_age = int original_query_age =
history::kAutocompleteDuplicateVisitIntervalThreshold.InSeconds() + 3; history::kAutocompleteDuplicateVisitIntervalThreshold.InSeconds() + 3;
FillURLDatabase({ FillURLDatabase({
......
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