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
This commit is contained in:
parent
ddad40e930
commit
e94c510c3f
@ -292,8 +292,8 @@ class LDBTestCase(unittest.TestCase):
|
|||||||
"x1 : y1\nx2 : y2\nx3 : y3\nx4 : y4")
|
"x1 : y1\nx2 : y2\nx3 : y3\nx4 : y4")
|
||||||
|
|
||||||
# Dump and load with lots of extra params specified
|
# Dump and load with lots of extra params specified
|
||||||
extraParams = " ".join(["--bloom_bits=14", "--compression_type=bzip2",
|
extraParams = " ".join(["--bloom_bits=14", "--block_size=1024",
|
||||||
"--block_size=1024", "--auto_compaction=true",
|
"--auto_compaction=true",
|
||||||
"--write_buffer_size=4194304",
|
"--write_buffer_size=4194304",
|
||||||
"--file_size=2097152"])
|
"--file_size=2097152"])
|
||||||
dumpFilePath = os.path.join(self.TMP_DIR, "dump6")
|
dumpFilePath = os.path.join(self.TMP_DIR, "dump6")
|
||||||
|
Loading…
Reference in New Issue
Block a user