From f34bee54aa16e237abf67c42ab0326cb223e9cf8 Mon Sep 17 00:00:00 2001 From: Clement Date: Wed, 25 Sep 2024 18:58:09 +0800 Subject: [PATCH] typo Signed-off-by: Clement --- tests/integration/raft_log_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/raft_log_test.go b/tests/integration/raft_log_test.go index 54e2080b01f..c38a15d8187 100644 --- a/tests/integration/raft_log_test.go +++ b/tests/integration/raft_log_test.go @@ -61,7 +61,7 @@ func TestRaftLogCompaction(t *testing.T) { t.Errorf("#%d: couldn't put key (%v)", appliedi, err) } } - // The first snapshot and compaction shouldn't happen because the index is less than 11 + // The first snapshot and compaction shouldn't happen because applied index is less than 11 logOccurredAtMostNTimes(t, mem, 5*time.Second, "saved snapshot", 0) logOccurredAtMostNTimes(t, mem, time.Second, "compacted Raft logs", 0) @@ -72,7 +72,7 @@ func TestRaftLogCompaction(t *testing.T) { t.Errorf("#%d: couldn't put key (%v)", appliedi, err) } } - // The first snapshot and compaction should happen because the index is 11 + // The first snapshot and compaction should happen because applied index is 11 logOccurredAtMostNTimes(t, mem, 5*time.Second, "saved snapshot", 1) logOccurredAtMostNTimes(t, mem, time.Second, "compacted Raft logs", 1) expectMemberLog(t, mem, time.Second, "\"compact-index\": 6", 1)