test(checker): check the runner's error in the recovery test
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / test (pull_request) Successful in 9m12s
ci / lint (pull_request) Successful in 11m24s
ci / build (pull_request) Successful in 18m3s
ci / image (pull_request) Successful in 5m18s
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / test (pull_request) Successful in 9m12s
ci / lint (pull_request) Successful in 11m24s
ci / build (pull_request) Successful in 18m3s
ci / image (pull_request) Successful in 5m18s
golangci-lint's errcheck failed the v0.7.1 build on the unchecked result of the runner in TestRecoveryIsLogged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
1 parent
87918eff80
commit
1dcb1531d0
1 file changed
+3
-1
@@ -93,7 +93,9 @@ func TestRecoveryIsLogged(t *testing.T) {
|
||||
time.Sleep(50 * time.Millisecond)
|
||||
}
|
||||
cancel()
|
||||
<-done
|
||||
if err := <-done; err != nil {
|
||||
t.Errorf("Run() = %v", err)
|
||||
}
|
||||
out := logs.String()
|
||||
for _, want := range []string{`"msg":"polling for jobs works again"`, `"failures":1`, `"msg":"reporting results works again"`, `"sent":1`} {
|
||||
if !strings.Contains(out, want) {
|
||||
|
||||
Reference in new issue
Block a user