Skip to content

Commit

Permalink
Merge pull request #14405 from Abirdcfly/main
Browse files Browse the repository at this point in the history
chore: remove duplicate word in comments
  • Loading branch information
ahrtr authored Aug 31, 2022
2 parents cdd2b73 + 858afba commit a285b06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions raft/raft_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3250,7 +3250,7 @@ func TestAddNodeCheckQuorum(t *testing.T) {
}

// TestRemoveNode tests that removeNode could update nodes and
// and removed list correctly.
// removed list correctly.
func TestRemoveNode(t *testing.T) {
r := newTestRaft(1, 10, 1, newTestMemoryStorage(withPeers(1, 2)))
r.applyConfChange(pb.ConfChange{NodeID: 2, Type: pb.ConfChangeRemoveNode}.AsV2())
Expand All @@ -3269,7 +3269,7 @@ func TestRemoveNode(t *testing.T) {
}

// TestRemoveLearner tests that removeNode could update nodes and
// and removed list correctly.
// removed list correctly.
func TestRemoveLearner(t *testing.T) {
r := newTestLearnerRaft(1, 10, 1, newTestMemoryStorage(withPeers(1), withLearners(2)))
r.applyConfChange(pb.ConfChange{NodeID: 2, Type: pb.ConfChangeRemoveNode}.AsV2())
Expand Down

0 comments on commit a285b06

Please sign in to comment.