From 122018305c6a2b6420bbc2c3a60eb826c59d698d Mon Sep 17 00:00:00 2001 From: skycastlelily Date: Thu, 31 Oct 2024 19:24:05 +0800 Subject: [PATCH] Suggest raising `restart-max-count` upon too many restarts (#3294) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Miloš Prchlík --- tmt/steps/execute/internal.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tmt/steps/execute/internal.py b/tmt/steps/execute/internal.py index 3ca34a76d2..406fcd592a 100644 --- a/tmt/steps/execute/internal.py +++ b/tmt/steps/execute/internal.py @@ -561,7 +561,8 @@ def _run_tests( else: for result in invocation.results: result.result = ResultOutcome.ERROR - result.note = 'crashed too many times' + result.note = ('crashed too many times, ' + 'you may want to set restart-max-count larger') # Handle reboot, abort, exit-first if invocation.reboot_requested: