Commit 72845cec authored by Mark Pearson's avatar Mark Pearson Committed by Commit Bot

Disable Flaky Sync Test

Disables
SingleClientDirectorySyncTest.DeleteDirectoryWhenCorrupted
due to repeated flakes on Mac.

TBR=treib

Bug: 850980
Change-Id: I0906849dd03a2ce0a6fa007de10036519b502958
Reviewed-on: https://chromium-review.googlesource.com/1093548Reviewed-by: default avatarMark Pearson <mpearson@chromium.org>
Commit-Queue: Mark Pearson <mpearson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565732}
parent 47db9c8f
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#include "base/threading/thread_restrictions.h" #include "base/threading/thread_restrictions.h"
#include "base/threading/thread_task_runner_handle.h" #include "base/threading/thread_task_runner_handle.h"
#include "base/time/time.h" #include "base/time/time.h"
#include "build/build_config.h"
#include "chrome/browser/sync/test/integration/bookmarks_helper.h" #include "chrome/browser/sync/test/integration/bookmarks_helper.h"
#include "chrome/browser/sync/test/integration/single_client_status_change_checker.h" #include "chrome/browser/sync/test/integration/single_client_status_change_checker.h"
#include "chrome/browser/sync/test/integration/sync_test.h" #include "chrome/browser/sync/test/integration/sync_test.h"
...@@ -101,10 +102,17 @@ IN_PROC_BROWSER_TEST_F(SingleClientDirectorySyncTest, ...@@ -101,10 +102,17 @@ IN_PROC_BROWSER_TEST_F(SingleClientDirectorySyncTest,
// Verify that when the sync directory's backing store becomes corrupted, we // Verify that when the sync directory's backing store becomes corrupted, we
// trigger an unrecoverable error and delete the database. // trigger an unrecoverable error and delete the database.
// //
// TODO(treib): Update the below comment; it refers to something that does
// not exist.
// If this test fails, see the definition of kNumEntriesRequiredForCorruption // If this test fails, see the definition of kNumEntriesRequiredForCorruption
// for one possible cause. // for one possible cause.
#if defined(OS_MACOSX)
#define MAYBE_DeleteDirectoryWhenCorrupted DISABLED_DeleteDirectoryWhenCorrupted
#else
#define MAYBE_DeleteDirectoryWhenCorrupted DeleteDirectoryWhenCorrupted
#endif
IN_PROC_BROWSER_TEST_F(SingleClientDirectorySyncTest, IN_PROC_BROWSER_TEST_F(SingleClientDirectorySyncTest,
DeleteDirectoryWhenCorrupted) { MAYBE_DeleteDirectoryWhenCorrupted) {
ASSERT_TRUE(SetupClients()) << "SetupClients() failed."; ASSERT_TRUE(SetupClients()) << "SetupClients() failed.";
// Sync and wait for syncing to complete. // Sync and wait for syncing to complete.
ASSERT_TRUE(SetupSync()) << "SetupSync() failed."; ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
......
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