Mark FileUtilTest.CountFilesCreatedAfter as flaky
TBR=erikkay
BUG=46246
Review URL: http://codereview.chromium.org/2756007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49386 0039d316-1c4b-4281-b951-d872f2087c98
CrOS-Libchrome-Original-Commit: 552b315fe66c1040ac964b15b25b4f0d942aa8d6
diff --git a/base/file_util_unittest.cc b/base/file_util_unittest.cc
index d66a426..6341beb 100644
--- a/base/file_util_unittest.cc
+++ b/base/file_util_unittest.cc
@@ -406,7 +406,7 @@
}
#endif
-TEST_F(FileUtilTest, CountFilesCreatedAfter) {
+TEST_F(FileUtilTest, FLAKY_CountFilesCreatedAfter) {
// Create old file (that we don't want to count)
FilePath old_file_name = test_dir_.Append(FILE_PATH_LITERAL("Old File.txt"));
CreateTextFile(old_file_name, L"Just call me Mr. Creakybits");
@@ -531,7 +531,7 @@
int target_length = MAX_PATH;
target_length -= (sub_a.value().length() + 1); // +1 for the sepperator '\'.
target_length -= (sub_long_rel.Append(deep_txt).value().length() + 1);
- // Without making the path a bit shorter, CreateDirectory() fails.
+ // Without making the path a bit shorter, CreateDirectory() fails.
// the resulting path is still long enough to hit the failing case in
// NormalizePath().
const int kCreateDirLimit = 4;