ci/lava: Add timeout header info for LAVA GL Sections

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17703>
This commit is contained in:
Guilherme Gallo 2022-07-20 20:00:08 -03:00
parent 69400a0762
commit 63082cf709
1 changed files with 2 additions and 1 deletions

View File

@ -65,9 +65,10 @@ class LogSection:
if match := re.search(self.regex, lava_log_line["msg"]):
section_id = self.section_id.format(*match.groups())
section_header = self.section_header.format(*match.groups())
timeout = DEFAULT_GITLAB_SECTION_TIMEOUTS[self.section_type]
return GitlabSection(
id=section_id,
header=section_header,
header=f"{section_header} - Timeout: {timeout}",
type=self.section_type,
start_collapsed=self.collapsed,
)