|
|
@ -72,6 +72,8 @@ TEST(TestTTL, ReadTTL) { |
|
|
|
status = db->Get(readOptions, key, &value); |
|
|
|
ASSERT_FALSE(status.ok()); |
|
|
|
} |
|
|
|
|
|
|
|
delete db; |
|
|
|
} |
|
|
|
|
|
|
|
TEST(TestTTL, CompactionTTL) { |
|
|
@ -100,6 +102,8 @@ TEST(TestTTL, CompactionTTL) { |
|
|
|
uint64_t sizes1[1]; |
|
|
|
db->GetApproximateSizes(ranges1, 1, sizes1); |
|
|
|
ASSERT_EQ(sizes1[0], 0); |
|
|
|
|
|
|
|
delete db; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|