Skip to content

Commit

Permalink
temporarily disabled two leader transfer ut (#859)
Browse files Browse the repository at this point in the history
  • Loading branch information
critical27 authored and dangleptr committed Aug 28, 2019
1 parent 62bdc9a commit 99d34e6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/kvstore/PartManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class MemPartManager final : public PartManager {
FRIEND_TEST(NebulaStoreTest, SimpleTest);
FRIEND_TEST(NebulaStoreTest, PartsTest);
FRIEND_TEST(NebulaStoreTest, ThreeCopiesTest);
FRIEND_TEST(NebulaStoreTest, TransLeaderTest);
FRIEND_TEST(NebulaStoreTest, DISABLED_TransLeaderTest);

public:
MemPartManager() = default;
Expand Down
2 changes: 1 addition & 1 deletion src/kvstore/test/NebulaStoreTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ TEST(NebulaStoreTest, ThreeCopiesTest) {
}
}

TEST(NebulaStoreTest, TransLeaderTest) {
TEST(NebulaStoreTest, DISABLED_TransLeaderTest) {
fs::TempDir rootPath("/tmp/trans_leader_test.XXXXXX");
auto initNebulaStore = [](const std::vector<HostAddr>& peers,
int32_t index,
Expand Down
2 changes: 1 addition & 1 deletion src/meta/processors/admin/Balancer.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Balancer {
FRIEND_TEST(BalanceTest, IntersectHostsLeaderBalancePlanTest);
FRIEND_TEST(BalanceTest, LeaderBalanceTest);
FRIEND_TEST(BalanceTest, ManyHostsLeaderBalancePlanTest);
FRIEND_TEST(BalanceIntegrationTest, LeaderBalanceTest);
FRIEND_TEST(BalanceIntegrationTest, DISABLED_LeaderBalanceTest);

public:
static Balancer* instance(kvstore::KVStore* kv) {
Expand Down
2 changes: 1 addition & 1 deletion src/meta/test/BalanceIntegrationTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ TEST(BalanceIntegrationTest, SimpleTest) {
LOG(INFO) << "Start storage server on " << sc->port_;
}

TEST(BalanceIntegrationTest, LeaderBalanceTest) {
TEST(BalanceIntegrationTest, DISABLED_LeaderBalanceTest) {
FLAGS_load_data_interval_secs = 1;
FLAGS_heartbeat_interval_secs = 1;
FLAGS_raft_heartbeat_interval_secs = 1;
Expand Down

0 comments on commit 99d34e6

Please sign in to comment.