Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
RickiNano committed Oct 14, 2024
1 parent c633a38 commit a719ac3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions nano/core_test/toml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,6 @@ TEST (toml, daemon_config_deserialize_no_defaults)
vacancy_threshold = 99
[node.rocksdb]
enable = true
io_threads = 99
read_cache = 99
write_cache = 99
Expand Down Expand Up @@ -748,8 +747,6 @@ TEST (toml, daemon_config_deserialize_no_defaults)
ASSERT_NE (conf.node.lmdb_config.max_databases, defaults.node.lmdb_config.max_databases);
ASSERT_NE (conf.node.lmdb_config.map_size, defaults.node.lmdb_config.map_size);

ASSERT_TRUE (conf.node.rocksdb_config.enable);
ASSERT_EQ (nano::rocksdb_config::using_rocksdb_in_tests (), defaults.node.rocksdb_config.enable);
ASSERT_NE (conf.node.rocksdb_config.io_threads, defaults.node.rocksdb_config.io_threads);
ASSERT_NE (conf.node.rocksdb_config.read_cache, defaults.node.rocksdb_config.read_cache);
ASSERT_NE (conf.node.rocksdb_config.write_cache, defaults.node.rocksdb_config.write_cache);
Expand Down

0 comments on commit a719ac3

Please sign in to comment.