We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 061fb99 commit f2dea7aCopy full SHA for f2dea7a
pkg/retry/retry_test.go
@@ -22,7 +22,7 @@ func Test__GivesUpAfterMaxRetries(t *testing.T) {
22
attempts := 0
23
err := RetryWithConstantWait("test", 5, 100*time.Millisecond, func() error {
24
attempts++
25
- return errors.New("bad error")
+ return errors.New("bad error 500")
26
})
27
assert.Equal(t, attempts, 5)
28
assert.NotNil(t, err)
0 commit comments