diff --git a/src/kvstore/PartManager.h b/src/kvstore/PartManager.h index 9bc05c2a75e..0f0d2715e09 100644 --- a/src/kvstore/PartManager.h +++ b/src/kvstore/PartManager.h @@ -72,7 +72,7 @@ class MemPartManager final : public PartManager { FRIEND_TEST(NebulaStoreTest, SimpleTest); FRIEND_TEST(NebulaStoreTest, PartsTest); FRIEND_TEST(NebulaStoreTest, ThreeCopiesTest); - FRIEND_TEST(NebulaStoreTest, DISABLED_TransLeaderTest); + FRIEND_TEST(NebulaStoreTest, TransLeaderTest); public: MemPartManager() = default; diff --git a/src/kvstore/test/NebulaStoreTest.cpp b/src/kvstore/test/NebulaStoreTest.cpp index 05ffe6ed9cb..add8faa70a9 100644 --- a/src/kvstore/test/NebulaStoreTest.cpp +++ b/src/kvstore/test/NebulaStoreTest.cpp @@ -384,7 +384,7 @@ TEST(NebulaStoreTest, ThreeCopiesTest) { } } -TEST(NebulaStoreTest, DISABLED_TransLeaderTest) { +TEST(NebulaStoreTest, TransLeaderTest) { fs::TempDir rootPath("/tmp/trans_leader_test.XXXXXX"); auto initNebulaStore = [](const std::vector& peers, int32_t index, diff --git a/src/meta/processors/admin/Balancer.h b/src/meta/processors/admin/Balancer.h index d809a061b8a..a633db1e2e1 100644 --- a/src/meta/processors/admin/Balancer.h +++ b/src/meta/processors/admin/Balancer.h @@ -49,7 +49,7 @@ class Balancer { FRIEND_TEST(BalanceTest, IntersectHostsLeaderBalancePlanTest); FRIEND_TEST(BalanceTest, LeaderBalanceTest); FRIEND_TEST(BalanceTest, ManyHostsLeaderBalancePlanTest); - FRIEND_TEST(BalanceIntegrationTest, DISABLED_LeaderBalanceTest); + FRIEND_TEST(BalanceIntegrationTest, LeaderBalanceTest); public: static Balancer* instance(kvstore::KVStore* kv) { diff --git a/src/meta/test/BalanceIntegrationTest.cpp b/src/meta/test/BalanceIntegrationTest.cpp index ecfd5691e57..48ab3ca3710 100644 --- a/src/meta/test/BalanceIntegrationTest.cpp +++ b/src/meta/test/BalanceIntegrationTest.cpp @@ -26,7 +26,7 @@ TEST(BalanceIntegrationTest, SimpleTest) { LOG(INFO) << "Start storage server on " << sc->port_; } -TEST(BalanceIntegrationTest, DISABLED_LeaderBalanceTest) { +TEST(BalanceIntegrationTest, LeaderBalanceTest) { FLAGS_load_data_interval_secs = 1; FLAGS_heartbeat_interval_secs = 1; FLAGS_raft_heartbeat_interval_secs = 1;