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
main
Igor Canadi 9 years ago
parent ddad40e930
commit e94c510c3f
  1. 4
      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")

Loading…
Cancel
Save