Fix description length

This commit is contained in:
Igor Nikonov 2023-09-06 13:05:56 +00:00
parent 32048f2a8d
commit e858f0b880

View File

@ -185,6 +185,11 @@ def main():
state, description, test_results, additional_logs = process_results(output_path) state, description, test_results, additional_logs = process_results(output_path)
if timeout_expired is not None: if timeout_expired is not None:
name = f"Timeout expired for process execution: {run_cmd}"
if len(name) > 140:
name = name[:136]
name += " ..."
test_results.append( test_results.append(
TestResult( TestResult(
f"Timeout expired for process execution: {run_cmd}", f"Timeout expired for process execution: {run_cmd}",