Skip to content

Commit

Permalink
k6runner: handle ErrorCodeFailed (#791)
Browse files Browse the repository at this point in the history
  • Loading branch information
roobre committed Jul 29, 2024
1 parent bc24872 commit b2a24c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/k6runner/k6runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func (r Processor) Run(ctx context.Context, registry *prometheus.Registry, logge
case "":
// No error, all good.
return true, nil
case "timeout", "killed", "user":
case "timeout", "killed", "user", "failed":
// These are user errors. The probe failed, but we don't return an error.
return false, nil
default:
Expand Down

0 comments on commit b2a24c4

Please sign in to comment.