diff --git a/src/tests/test_raft_repl_dev.cpp b/src/tests/test_raft_repl_dev.cpp index a7e71c96c..a80d03c81 100644 --- a/src/tests/test_raft_repl_dev.cpp +++ b/src/tests/test_raft_repl_dev.cpp @@ -273,7 +273,7 @@ class RaftReplDevTest : public testing::Test { flip::FlipClient m_fc{iomgr_flip::instance()}; #endif }; -#if 0 + TEST_F(RaftReplDevTest, All_Append_Restart_Append) { LOGINFO("Homestore replica={} setup completed", g_helper->replica_num()); @@ -453,8 +453,7 @@ TEST_F(RaftReplDevTest, All_restart_one_follower_inc_resync_with_staging) { this->validate_all_data(); g_helper->sync_for_cleanup_start(); } -#endif -#if 1 + // do some io before restart; TEST_F(RaftReplDevTest, All_restart_leader) { LOGINFO("Homestore replica={} setup completed", g_helper->replica_num()); @@ -513,7 +512,7 @@ TEST_F(RaftReplDevTest, All_restart_leader) { this->validate_all_data(); g_helper->sync_for_cleanup_start(); } -#endif + // TODO // double restart: // 1. restart one follower(F1) while I/O keep running.