提交 b16ead53 编写于 作者: S sdong

DBTest.DynamicLevelCompressionPerLevel should not run without snappy support

Summary: The test depends on snappy to be used. Skip the test if it is not supported.

Test Plan: Run the test

Reviewers: meyering, igor

Reviewed By: igor

Subscribers: leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D34995
上级 a5e60baf
......@@ -10666,6 +10666,9 @@ TEST(DBTest, DynamicLevelMaxBytesBase2) {
}
TEST(DBTest, DynamicLevelCompressionPerLevel) {
if (!SnappyCompressionSupported()) {
return;
}
const int kNKeys = 120;
int keys[kNKeys];
for (int i = 0; i < kNKeys; i++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册