Merge pull request 'test(checker): check the runner's error in the recovery test' (#159) from fix/lint-recovery-test into main
release / release (push) Successful in 30m28s
ci / image (push) Successful in 3m33s
ci / lint (push) Successful in 6m32s
ci / test (push) Successful in 15m19s
ci / build (push) Successful in 11m12s

This commit was merged in pull request #159.
This commit is contained in:
Sebi committed 2026-11-25 23:27:42 +00:00
commit b88ed4bfd2
1 file changed
+3 -1
+3 -1
View File
@@ -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) {