This commit is contained in:
Vladimir Mihailenco 2020-07-28 16:26:03 +03:00
parent 0f5d67c102
commit 3fbf7df014
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import (
func TestRetryBackoff(t *testing.T) {
RegisterTestingT(t)
for i := -1; i <= 16; i++ {
for i := 0; i <= 16; i++ {
backoff := RetryBackoff(i, time.Millisecond, 512*time.Millisecond)
Expect(backoff >= 0).To(BeTrue())
Expect(backoff <= 512*time.Millisecond).To(BeTrue())