Merge pull request 'test(checker): check the runner's error in the recovery test' (#159) from fix/lint-recovery-test into main

This commit is contained in:
Sebi committed 2026-11-25 23:27:42 +00:00
commit 22bd745acc
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) {