StackableDB should pass ResetStats()
Summary: Closes https://github.com/facebook/rocksdb/pull/2190 Differential Revision: D4922688 Pulled By: siying fbshipit-source-id: eaa3d122f8d389ae0508ec8b61f7780fd8b0a7ef
This commit is contained in:
parent
c1fbf91b2f
commit
7534ba7bde
@ -307,6 +307,9 @@ class StackableDB : public DB {
|
||||
return db_->SetDBOptions(new_options);
|
||||
}
|
||||
|
||||
using DB::ResetStats;
|
||||
virtual Status ResetStats() override { return db_->ResetStats(); }
|
||||
|
||||
using DB::GetPropertiesOfAllTables;
|
||||
virtual Status GetPropertiesOfAllTables(
|
||||
ColumnFamilyHandle* column_family,
|
||||
|
@ -136,6 +136,8 @@ TEST_P(TransactionTest, DoubleEmptyWrite) {
|
||||
}
|
||||
|
||||
TEST_P(TransactionTest, SuccessTest) {
|
||||
ASSERT_OK(db->ResetStats());
|
||||
|
||||
WriteOptions write_options;
|
||||
ReadOptions read_options;
|
||||
string value;
|
||||
|
Loading…
Reference in New Issue
Block a user