Index: third_party/zlib/google/zip_reader_unittest.cc |
diff --git a/third_party/zlib/google/zip_reader_unittest.cc b/third_party/zlib/google/zip_reader_unittest.cc |
index 09fc241bd6fc5fdcdf82449ed7953fa636d0a45e..d4bb5794657dcb4da2dd19f7bdeb4039d6d4ed7d 100644 |
--- a/third_party/zlib/google/zip_reader_unittest.cc |
+++ b/third_party/zlib/google/zip_reader_unittest.cc |
@@ -573,4 +573,13 @@ TEST_F(ZipReaderTest, ExtractCurrentEntryToString) { |
reader.Close(); |
} |
+// This test exposes http://crbug.com/430959, at least on OS X |
+TEST_F(ZipReaderTest, DISABLED_LeakDetectionTest) { |
+ for (int i = 0; i < 100000; ++i) { |
+ FileWrapper zip_fd_wrapper(test_zip_file_, FileWrapper::READ_ONLY); |
+ ZipReader reader; |
+ ASSERT_TRUE(reader.OpenFromPlatformFile(zip_fd_wrapper.platform_file())); |
+ } |
+} |
+ |
} // namespace zip |