Skip to content

Commit

Permalink
fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
maciuszek committed Jan 16, 2025
1 parent 2641924 commit 858a3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ func TestTimerReservoir_ConcurrentFlushingWhileWrites(t *testing.T) {
time.Sleep(time.Duration(flushIntervalMs/5) * time.Millisecond)
}

time.Sleep(time.Duration(flushIntervalMs+1) * time.Millisecond) // guarentee we finish flushing
time.Sleep(time.Duration(flushIntervalMs+1) * time.Millisecond) // guarantee we finish flushing

stats := strings.Split(ts.String(), "\n")
statCount := len(stats) - 1 // there will be 1 extra new line character at the end of the buffer
Expand Down

0 comments on commit 858a3fd

Please sign in to comment.