Browse Source

raft: fix typo in raft_test.go

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 years ago
parent
commit
d808b4686c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      raft/raft_test.go

+ 1 - 1
raft/raft_test.go

@@ -722,7 +722,7 @@ func TestLearnerLogReplication(t *testing.T) {
 
 	match := n1.getProgress(2).Match
 	if match != n2.raftLog.committed {
-		t.Errorf("progresss 2 of leader 1 wants match %d, but got %d", n2.raftLog.committed, match)
+		t.Errorf("progress 2 of leader 1 wants match %d, but got %d", n2.raftLog.committed, match)
 	}
 }