diff --git a/cmd/root/root_cmd.go b/cmd/root/root_cmd.go index 6db8b1a2f..3251ab91e 100644 --- a/cmd/root/root_cmd.go +++ b/cmd/root/root_cmd.go @@ -79,7 +79,7 @@ func NewRootCmd() *cobra.Command { var cancel context.CancelFunc if globalTimeout > 0 { ctx, cancel = context.WithTimeout(ctx, globalTimeout) - log.Debugf("globalTimeout is %d", globalTimeout) + log.Debugf("globalTimeout is %d seconds", globalTimeout/time.Second) } else { log.Debugf("globalTimeout is %d, no timeout used", globalTimeout) } diff --git a/features/task_validate_image.feature b/features/task_validate_image.feature index d57d2ff7a..6571ddeb3 100644 --- a/features/task_validate_image.feature +++ b/features/task_validate_image.feature @@ -314,7 +314,7 @@ Feature: Verify Enterprise Contract Tekton Tasks | IGNORE_REKOR | true | | TIMEOUT | 666s | Then the task should succeed - And the task logs for step "debug-log" should contain "globalTimeout is 666000000000" + And the task logs for step "debug-log" should contain "globalTimeout is 666 seconds" Scenario: SSL_CERT_DIR environment variable is customized Given a working namespace