From e94c510c3fb83f2af155844668ed509e2ffc19ad Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Tue, 14 Jul 2015 23:13:23 -0700 Subject: [PATCH] Make ldb_test not depend on compression Summary: This is failing our tsan tests. Our new behavior is to fail DB::Open() if the requested compression is not available. The easiest fix is to make ldb_test not depend on compression. Test Plan: python tools/ldb_test.py Reviewers: sdong, yhchiang, anthony Reviewed By: anthony Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D42075 --- tools/ldb_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ldb_test.py b/tools/ldb_test.py index f248f88cd..0a4326960 100644 --- a/tools/ldb_test.py +++ b/tools/ldb_test.py @@ -292,8 +292,8 @@ class LDBTestCase(unittest.TestCase): "x1 : y1\nx2 : y2\nx3 : y3\nx4 : y4") # Dump and load with lots of extra params specified - extraParams = " ".join(["--bloom_bits=14", "--compression_type=bzip2", - "--block_size=1024", "--auto_compaction=true", + extraParams = " ".join(["--bloom_bits=14", "--block_size=1024", + "--auto_compaction=true", "--write_buffer_size=4194304", "--file_size=2097152"]) dumpFilePath = os.path.join(self.TMP_DIR, "dump6")