Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
empiredan committed Jan 15, 2025
1 parent 706c9c8 commit c26dab2
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/meta/test/server_state_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,17 +227,6 @@ class server_state_test

void meta_service_test_app::app_envs_basic_test()
{
static const std::vector<std::string> kValues = {
"1712846598",
"6",
dsn::replica_envs::MANUAL_COMPACT_BOTTOMMOST_LEVEL_COMPACTION_FORCE,
"1712846598",
"-1",
dsn::replica_envs::MANUAL_COMPACT_BOTTOMMOST_LEVEL_COMPACTION_SKIP,
dsn::replica_envs::ROCKSDB_ENV_USAGE_SCENARIO_NORMAL,
"1",
"0"};

static const std::vector<std::string> kKeys = {
dsn::replica_envs::MANUAL_COMPACT_ONCE_TRIGGER_TIME,
dsn::replica_envs::MANUAL_COMPACT_ONCE_TARGET_LEVEL,
Expand All @@ -249,6 +238,17 @@ void meta_service_test_app::app_envs_basic_test()
dsn::replica_envs::ROCKSDB_CHECKPOINT_RESERVE_MIN_COUNT,
dsn::replica_envs::ROCKSDB_CHECKPOINT_RESERVE_TIME_SECONDS};

static const std::vector<std::string> kValues = {
"1712846598",
"6",
dsn::replica_envs::MANUAL_COMPACT_BOTTOMMOST_LEVEL_COMPACTION_FORCE,
"1712846598",
"-1",
dsn::replica_envs::MANUAL_COMPACT_BOTTOMMOST_LEVEL_COMPACTION_SKIP,
dsn::replica_envs::ROCKSDB_ENV_USAGE_SCENARIO_NORMAL,
"1",
"0"};

server_state_test test;
test.load_apps({"test_app1",
"test_set_app_envs_not_found",
Expand Down

0 comments on commit c26dab2

Please sign in to comment.