Merge pull request #12 from gmossessian/feature-fixSnappyCompressionTest
allow snappy_compression as a default option in test_options.py::TestOptions::test_simple
This commit is contained in:
commit
c32d401a25
1 changed files with 3 additions and 1 deletions
|
@ -93,7 +93,9 @@ class TestOptions(unittest.TestCase):
|
|||
opts.comparator,
|
||||
rocksdb.BytewiseComparator)
|
||||
|
||||
self.assertEqual(rocksdb.CompressionType.snappy_compression, opts.compression)
|
||||
self.assertIn(opts.compression,
|
||||
(rocksdb.CompressionType.no_compression,
|
||||
rocksdb.CompressionType.snappy_compression))
|
||||
|
||||
opts.compression = rocksdb.CompressionType.zstd_compression
|
||||
self.assertEqual(rocksdb.CompressionType.zstd_compression, opts.compression)
|
||||
|
|
Loading…
Reference in a new issue