Skip to content

Commit

Permalink
Removes the warning about a configured retry command with no retries (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
TAGraves authored Nov 20, 2024
1 parent 2c8acb8 commit da59a89
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/cli/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ func (rc RunConfig) Validate(log *zap.SugaredLogger) error {
)
}

if rc.RetryCommandTemplate != "" && !(rc.Retries > 0 || rc.FlakyRetries > 0) {
log.Warn("There is a retry command configured for this test suite, however the retry count is set to 0.")
log.Warn("Retries are disabled.")
}

if rc.MaxTestsToRetry != "" && !maxTestsToRetryRegexp.MatchString(rc.MaxTestsToRetry) {
return errors.NewConfigurationError(
"Unsupported --max-tests-to-retry value",
Expand Down

0 comments on commit da59a89

Please sign in to comment.