From 621f5c6a910d919e9980a7adf4ed478985eb4e84 Mon Sep 17 00:00:00 2001 From: "tony@chromium.org" Date: Mon, 15 Mar 2010 09:09:04 +0000 Subject: Disable FileWatcher unittests on mac, they're flakey. TBR=phajdan.jr Review URL: http://codereview.chromium.org/957001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41568 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/file_watcher_unittest.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chrome/browser/file_watcher_unittest.cc') diff --git a/chrome/browser/file_watcher_unittest.cc b/chrome/browser/file_watcher_unittest.cc index c97091a..0483aae 100644 --- a/chrome/browser/file_watcher_unittest.cc +++ b/chrome/browser/file_watcher_unittest.cc @@ -128,6 +128,9 @@ class TestDelegate : public FileWatcher::Delegate { bool got_notification_; }; + +#if !defined(OS_MACOSX) +// TODO(tony): Test is flakey on mac. http://crbug.com/38188 // Basic test: Create the file and verify that we notice. TEST_F(FileWatcherTest, NewFile) { FileWatcher watcher; @@ -239,4 +242,5 @@ TEST_F(FileWatcherTest, NonExistentDirectory) { ASSERT_FALSE(watcher.Watch(test_file().AppendASCII("FileToWatch"), NULL)); } +#endif } // namespace -- cgit v1.1