Fixed a signed-unsigned comparison error in db_test
Summary: Fixed a signed-unsigned comparison error in db_test Test Plan: make db_test
This commit is contained in:
parent
218857b3f5
commit
1562653ba0
@ -5939,10 +5939,10 @@ TEST(DBTest, FlushOneColumnFamily) {
|
||||
ASSERT_OK(Put(6, "alyosha", "alyosha"));
|
||||
ASSERT_OK(Put(7, "popovich", "popovich"));
|
||||
|
||||
for (int i = 0; i < 8; ++i) {
|
||||
for (size_t i = 0; i < 8; ++i) {
|
||||
Flush(i);
|
||||
auto tables = ListTableFiles(env_, dbname_);
|
||||
ASSERT_EQ(tables.size(), i + 1);
|
||||
ASSERT_EQ(tables.size(), i + 1U);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user