Index: net/disk_cache/backend_unittest.cc |
diff --git a/net/disk_cache/backend_unittest.cc b/net/disk_cache/backend_unittest.cc |
index f9df5bdd22efdff5ba9e5766f167c9d36f863125..1302e3b6a3b7d80e313e52a8def2ce320d618c8e 100644 |
--- a/net/disk_cache/backend_unittest.cc |
+++ b/net/disk_cache/backend_unittest.cc |
@@ -1783,11 +1783,23 @@ void DiskCacheBackendTest::BackendRecoverRemove() { |
ASSERT_TRUE(success_) << "remove_head4"; |
} |
-TEST_F(DiskCacheBackendTest, RecoverRemove) { |
+#if defined(OS_WIN) |
+// http://crbug.com/396392 |
+#define MAYBE_RecoverRemove DISABLED_RecoverRemove |
+#else |
+#define MAYBE_RecoverRemove RecoverRemove |
+#endif |
+TEST_F(DiskCacheBackendTest, MAYBE_RecoverRemove) { |
BackendRecoverRemove(); |
} |
-TEST_F(DiskCacheBackendTest, NewEvictionRecoverRemove) { |
+#if defined(OS_WIN) |
+// http://crbug.com/396392 |
+#define MAYBE_NewEvictionRecoverRemove DISABLED_NewEvictionRecoverRemove |
+#else |
+#define MAYBE_NewEvictionRecoverRemove NewEvictionRecoverRemove |
+#endif |
+TEST_F(DiskCacheBackendTest, MAYBE_NewEvictionRecoverRemove) { |
SetNewEviction(); |
BackendRecoverRemove(); |
} |