Skip to content

Commit 96b5e2a

Browse files
author
Marcel S. Henselin
committed
chore: fix missing settig in test
1 parent 6ef6083 commit 96b5e2a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

core/wait/wait_test.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -390,11 +390,12 @@ func TestWaitWithContext(t *testing.T) {
390390
return false, nil, fmt.Errorf("something bad happened when checking if the async action was finished")
391391
}
392392
handler := AsyncActionHandler[respType]{
393-
checkFn: checkFn,
394-
sleepBeforeWait: tt.handlerSleepBeforeWait,
395-
throttle: tt.handlerThrottle,
396-
timeout: tt.handlerTimeout,
397-
tempErrRetryLimit: tt.handlerTempErrRetryLimit,
393+
checkFn: checkFn,
394+
sleepBeforeWait: tt.handlerSleepBeforeWait,
395+
throttle: tt.handlerThrottle,
396+
timeout: tt.handlerTimeout,
397+
tempErrRetryLimit: tt.handlerTempErrRetryLimit,
398+
retryHttpErrorStatusCodes: RetryHttpErrorStatusCodes,
398399
}
399400
ctx, cancel := context.WithTimeout(context.Background(), tt.contextTimeout)
400401
defer cancel()

0 commit comments

Comments
 (0)