Skip to content

Commit

Permalink
db_compaction_test
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkr committed Nov 17, 2016
1 parent 5befd5a commit e304dac
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions db/db_compaction_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,7 @@ TEST_F(DBCompactionTest, TestTableReaderForCompaction) {
num_table_cache_lookup = 0;
num_new_table_reader = 0;
ASSERT_EQ(Key(1), Get(Key(1)));
// a second table cache iterator is created for range tombstones
ASSERT_EQ(num_table_cache_lookup, 2);
ASSERT_EQ(num_table_cache_lookup, 1);
ASSERT_EQ(num_new_table_reader, 0);

num_table_cache_lookup = 0;
Expand All @@ -337,8 +336,7 @@ TEST_F(DBCompactionTest, TestTableReaderForCompaction) {
num_table_cache_lookup = 0;
num_new_table_reader = 0;
ASSERT_EQ(Key(1), Get(Key(1)));
// a second table cache iterator is created for range tombstones
ASSERT_EQ(num_table_cache_lookup, 2);
ASSERT_EQ(num_table_cache_lookup, 1);
ASSERT_EQ(num_new_table_reader, 0);

rocksdb::SyncPoint::GetInstance()->ClearAllCallBacks();
Expand Down

0 comments on commit e304dac

Please sign in to comment.