@ -109,6 +109,7 @@ TEST_F(OptionsTest, GetOptionsFromMapTest) {
{ " create_missing_column_families " , " true " } ,
{ " error_if_exists " , " false " } ,
{ " paranoid_checks " , " true " } ,
{ " track_and_verify_wals_in_manifest " , " true " } ,
{ " max_open_files " , " 32 " } ,
{ " max_total_wal_size " , " 33 " } ,
{ " use_fsync " , " true " } ,
@ -263,6 +264,7 @@ TEST_F(OptionsTest, GetOptionsFromMapTest) {
ASSERT_EQ ( new_db_opt . create_missing_column_families , true ) ;
ASSERT_EQ ( new_db_opt . error_if_exists , false ) ;
ASSERT_EQ ( new_db_opt . paranoid_checks , true ) ;
ASSERT_EQ ( new_db_opt . track_and_verify_wals_in_manifest , true ) ;
ASSERT_EQ ( new_db_opt . max_open_files , 32 ) ;
ASSERT_EQ ( new_db_opt . max_total_wal_size , static_cast < uint64_t > ( 33 ) ) ;
ASSERT_EQ ( new_db_opt . use_fsync , true ) ;
@ -774,6 +776,7 @@ TEST_F(OptionsTest, OldInterfaceTest) {
{ " create_missing_column_families " , " true " } ,
{ " error_if_exists " , " false " } ,
{ " paranoid_checks " , " true " } ,
{ " track_and_verify_wals_in_manifest " , " true " } ,
{ " max_open_files " , " 32 " } ,
} ;
ASSERT_OK ( GetDBOptionsFromMap ( base_db_opt , db_options_map , & new_db_opt ) ) ;
@ -781,6 +784,7 @@ TEST_F(OptionsTest, OldInterfaceTest) {
ASSERT_EQ ( new_db_opt . create_missing_column_families , true ) ;
ASSERT_EQ ( new_db_opt . error_if_exists , false ) ;
ASSERT_EQ ( new_db_opt . paranoid_checks , true ) ;
ASSERT_EQ ( new_db_opt . track_and_verify_wals_in_manifest , true ) ;
ASSERT_EQ ( new_db_opt . max_open_files , 32 ) ;
db_options_map [ " unknown_option " ] = " 1 " ;
ASSERT_NOK ( GetDBOptionsFromMap ( base_db_opt , db_options_map , & new_db_opt ) ) ;
@ -1620,6 +1624,7 @@ TEST_F(OptionsOldApiTest, GetOptionsFromMapTest) {
{ " create_missing_column_families " , " true " } ,
{ " error_if_exists " , " false " } ,
{ " paranoid_checks " , " true " } ,
{ " track_and_verify_wals_in_manifest " , " true " } ,
{ " max_open_files " , " 32 " } ,
{ " max_total_wal_size " , " 33 " } ,
{ " use_fsync " , " true " } ,
@ -1768,6 +1773,7 @@ TEST_F(OptionsOldApiTest, GetOptionsFromMapTest) {
ASSERT_EQ ( new_db_opt . create_missing_column_families , true ) ;
ASSERT_EQ ( new_db_opt . error_if_exists , false ) ;
ASSERT_EQ ( new_db_opt . paranoid_checks , true ) ;
ASSERT_EQ ( new_db_opt . track_and_verify_wals_in_manifest , true ) ;
ASSERT_EQ ( new_db_opt . max_open_files , 32 ) ;
ASSERT_EQ ( new_db_opt . max_total_wal_size , static_cast < uint64_t > ( 33 ) ) ;
ASSERT_EQ ( new_db_opt . use_fsync , true ) ;