Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

temporarily disabled two leader transfer ut, they will be fixed in #795 #859

Merged
merged 1 commit into from
Aug 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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