Skip to content

Commit f2dea7a

Browse files
Update test to match new retry policy
1 parent 061fb99 commit f2dea7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/retry/retry_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func Test__GivesUpAfterMaxRetries(t *testing.T) {
2222
attempts := 0
2323
err := RetryWithConstantWait("test", 5, 100*time.Millisecond, func() error {
2424
attempts++
25-
return errors.New("bad error")
25+
return errors.New("bad error 500")
2626
})
2727
assert.Equal(t, attempts, 5)
2828
assert.NotNil(t, err)

0 commit comments

Comments
 (0)