Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(709)

Unified Diff: extensions/browser/content_hash_fetcher_unittest.cc

Issue 2777113002: Disable flaky ContentHashFetcherTest.MissingVerifiedContentsAndCorrupt (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/content_hash_fetcher_unittest.cc
diff --git a/extensions/browser/content_hash_fetcher_unittest.cc b/extensions/browser/content_hash_fetcher_unittest.cc
index 7e16b736bbe822eac08832c30bfb1cde50e35cd6..4323d7a9ada38c105647a4a95a9c4ea26c80d361 100644
--- a/extensions/browser/content_hash_fetcher_unittest.cc
+++ b/extensions/browser/content_hash_fetcher_unittest.cc
@@ -221,7 +221,15 @@ TEST_F(ContentHashFetcherTest, MissingVerifiedContents) {
// Similar to MissingVerifiedContents, but tests the case where the extension
// actually has corruption.
-TEST_F(ContentHashFetcherTest, MissingVerifiedContentsAndCorrupt) {
+// Flaky on Linux and ChromeOS. crbug.com/
+#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#define MAYBE_MissingVerifiedContentsAndCorrupt \
+ DISABLED_MissingVerifiedContentsAndCorrupt
+#else
+#define MAYBE_MissingVerifiedContentsAndCorrupt \
+ MissingVerifiedContentsAndCorrupt
+#endif
+TEST_F(ContentHashFetcherTest, MAYBE_MissingVerifiedContentsAndCorrupt) {
base::FilePath test_dir_base =
GetTestPath(base::FilePath()).AppendASCII("missing_verified_contents");
scoped_refptr<Extension> extension =
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698