Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Kosuke Morimoto <[email protected]>
  • Loading branch information
kmrmt committed Sep 6, 2024
1 parent e8bcb40 commit eb7cd8b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/backoff/backoff_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -533,12 +533,7 @@ func Test_backoff_Do(t *testing.T) {
func() test {
ctx := context.Background()
err := errors.New("erros is occurred")
cnt := 0
f := func(context.Context) (any, bool, error) {
cnt++
if cnt > 1 {
time.Sleep(10 * time.Millisecond)
}
return str, true, err
}
return test{
Expand Down

0 comments on commit eb7cd8b

Please sign in to comment.