|
@ -791,10 +791,8 @@ static bool SnappyCompressionSupported() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
TEST(TableTest, ApproximateOffsetOfCompressed) { |
|
|
TEST(TableTest, ApproximateOffsetOfCompressed) { |
|
|
if (!SnappyCompressionSupported()) { |
|
|
|
|
|
std::fprintf(stderr, "skipping compression tests\n"); |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (!SnappyCompressionSupported()) |
|
|
|
|
|
GTEST_SKIP() << "skipping compression tests"; |
|
|
|
|
|
|
|
|
Random rnd(301); |
|
|
Random rnd(301); |
|
|
TableConstructor c(BytewiseComparator()); |
|
|
TableConstructor c(BytewiseComparator()); |
|
|