Skip to content

Commit

Permalink
enable commeted out test case
Browse files Browse the repository at this point in the history
  • Loading branch information
yamingk committed Feb 28, 2024
1 parent a1e800f commit b39418f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/tests/test_raft_repl_dev.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down Expand Up @@ -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());
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit b39418f

Please sign in to comment.