Remove ASSERT_EQ(boolean, ...)

Summary: Closes https://github.com/facebook/rocksdb/pull/2024

Differential Revision: D4755420

Pulled By: siying

fbshipit-source-id: 7332ab1
main
Siying Dong 8 years ago committed by Facebook Github Bot
parent 3e56c7e0c4
commit 15950fe3a0
  1. 6
      db/db_test.cc

@ -4087,7 +4087,7 @@ TEST_F(DBTest, DynamicMiscOptions) {
// sanity check // sanity check
ASSERT_OK(dbfull()->TEST_GetLatestMutableCFOptions(handles_[1], ASSERT_OK(dbfull()->TEST_GetLatestMutableCFOptions(handles_[1],
&mutable_cf_options)); &mutable_cf_options));
ASSERT_EQ(true, mutable_cf_options.report_bg_io_stats); ASSERT_TRUE(mutable_cf_options.report_bg_io_stats);
// Test compression // Test compression
// sanity check // sanity check
ASSERT_OK(dbfull()->SetOptions({{"compression", "kNoCompression"}})); ASSERT_OK(dbfull()->SetOptions({{"compression", "kNoCompression"}}));
@ -4104,7 +4104,7 @@ TEST_F(DBTest, DynamicMiscOptions) {
dbfull()->SetOptions(handles_[1], {{"paranoid_file_checks", "true"}})); dbfull()->SetOptions(handles_[1], {{"paranoid_file_checks", "true"}}));
ASSERT_OK(dbfull()->TEST_GetLatestMutableCFOptions(handles_[1], ASSERT_OK(dbfull()->TEST_GetLatestMutableCFOptions(handles_[1],
&mutable_cf_options)); &mutable_cf_options));
ASSERT_EQ(true, mutable_cf_options.report_bg_io_stats); ASSERT_TRUE(mutable_cf_options.report_bg_io_stats);
} }
#endif // ROCKSDB_LITE #endif // ROCKSDB_LITE
@ -5214,7 +5214,7 @@ TEST_F(DBTest, PauseBackgroundWorkTest) {
t.join(); t.join();
} }
// now it's done // now it's done
ASSERT_EQ(true, done.load()); ASSERT_TRUE(done.load());
} }
} // namespace rocksdb } // namespace rocksdb

Loading…
Cancel
Save