From da59a89499a3911c92760a7b2cc09b8850df6d2b Mon Sep 17 00:00:00 2001 From: Tommy Graves Date: Wed, 20 Nov 2024 17:09:22 -0500 Subject: [PATCH] Removes the warning about a configured retry command with no retries (#87) --- internal/cli/config.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/cli/config.go b/internal/cli/config.go index ee66d09..7d599f9 100644 --- a/internal/cli/config.go +++ b/internal/cli/config.go @@ -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",