Skip to content

Commit f34bee5

Browse files
committed
typo
Signed-off-by: Clement <[email protected]>
1 parent bc9a3fa commit f34bee5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/raft_log_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func TestRaftLogCompaction(t *testing.T) {
6161
t.Errorf("#%d: couldn't put key (%v)", appliedi, err)
6262
}
6363
}
64-
// The first snapshot and compaction shouldn't happen because the index is less than 11
64+
// The first snapshot and compaction shouldn't happen because applied index is less than 11
6565
logOccurredAtMostNTimes(t, mem, 5*time.Second, "saved snapshot", 0)
6666
logOccurredAtMostNTimes(t, mem, time.Second, "compacted Raft logs", 0)
6767

@@ -72,7 +72,7 @@ func TestRaftLogCompaction(t *testing.T) {
7272
t.Errorf("#%d: couldn't put key (%v)", appliedi, err)
7373
}
7474
}
75-
// The first snapshot and compaction should happen because the index is 11
75+
// The first snapshot and compaction should happen because applied index is 11
7676
logOccurredAtMostNTimes(t, mem, 5*time.Second, "saved snapshot", 1)
7777
logOccurredAtMostNTimes(t, mem, time.Second, "compacted Raft logs", 1)
7878
expectMemberLog(t, mem, time.Second, "\"compact-index\": 6", 1)

0 commit comments

Comments
 (0)