Skip to content

Commit

Permalink
fixup: test-fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
hhsnopek committed Oct 18, 2022
1 parent 23854eb commit 1b9bab2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions wait/log.go
Expand Up @@ -83,11 +83,7 @@ LOOP:
continue
}

b, err := io.ReadAll(reader)
if err != nil {
time.Sleep(ws.PollInterval)
continue
}
b, _ := io.ReadAll(reader)

logs := string(b)
if strings.Count(logs, ws.Log) >= ws.Occurrence {
Expand Down

0 comments on commit 1b9bab2

Please sign in to comment.