Skip to content

Commit 97465bf

Browse files
authored
Merge pull request #1210 from wakatime/misc/fix-flakey-test
Fix flakey test
2 parents 48103ac + fecf3ea commit 97465bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ratelimit/ratelimit_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,5 @@ func TestRateLimitReset(t *testing.T) {
9090
lastSentAt, err := writer.File.Section("internal").Key("heartbeats_last_sent_at").TimeFormat(ini.DateFormat)
9191
require.NoError(t, err)
9292

93-
assert.WithinDuration(t, time.Now(), lastSentAt, 1*time.Second)
93+
assert.WithinDuration(t, time.Now(), lastSentAt, 2*time.Second)
9494
}

0 commit comments

Comments
 (0)