More s/us fixes
This commit is contained in:
parent
2e11e47c7c
commit
d6d67c0efe
@ -347,7 +347,7 @@ TEST(ColumnFamilyTest, DontReuseColumnFamilyID) {
|
||||
CreateColumnFamilies({"three2"});
|
||||
// ID 3 that was used for dropped column family "three" should not be reused
|
||||
auto cfh3 = reinterpret_cast<ColumnFamilyHandleImpl*>(handles_[3]);
|
||||
ASSERT_EQ(4, cfh3->GetID());
|
||||
ASSERT_EQ(4U, cfh3->GetID());
|
||||
Close();
|
||||
Destroy();
|
||||
}
|
||||
|
@ -179,7 +179,7 @@ class TestEnv : public EnvWrapper {
|
||||
}
|
||||
|
||||
virtual Status DeleteFile(const std::string& fname) override {
|
||||
ASSERT_GT(limit_delete_files_, 0);
|
||||
ASSERT_GT(limit_delete_files_, 0U);
|
||||
limit_delete_files_--;
|
||||
return EnvWrapper::DeleteFile(fname);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user