Skip to content

Commit

Permalink
fix: printout errors even if we have a timeout
Browse files Browse the repository at this point in the history
Signed-off-by: jesus m. rodriguez <jesusr@redhat.com>
  • Loading branch information
jmrodri committed Apr 3, 2022
1 parent 324ca13 commit 6b84502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/operator-sdk/scorecard/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func (c *scorecardCmd) run() (err error) {
defer cancel()

scorecardTests, err = o.Run(ctx)
if err != nil {
if err != nil && err != context.DeadlineExceeded {
return fmt.Errorf("error running tests %w", err)
}
}
Expand Down

0 comments on commit 6b84502

Please sign in to comment.