Skip to content

internal/retry: export backoff errors #2514

internal/retry: export backoff errors

internal/retry: export backoff errors #2514

Re-run triggered July 14, 2023 06:02
Status Failure
Total duration 2m 14s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
golangci: internal/retry/backoff_test.go#L58
File is not `gofmt`-ed with `-s` (gofmt)
golangci: internal/locate/region_request.go#L1158
File is not `gofmt`-ed with `-s` (gofmt)
golangci: internal/retry/backoff_test.go#L56
lostcancel: the cancel function returned by context.WithTimeout should be called, not discarded, to avoid a context leak (govet)
golangci: internal/retry/backoff_test.go#L63
testinggoroutine: call to (*T).Fatalf from a non-test goroutine (govet)
golangci: internal/retry/backoff_test.go#L60
SA2002: the goroutine calls T.Fatalf, which must be called in the same goroutine as the test (staticcheck)
golangci
issues found
test
Process completed with exit code 1.
race-test
Process completed with exit code 1.
golangci
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
race-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/