mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 03:00:11 +01:00
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:
parent
69400a0762
commit
63082cf709
1 changed files with 2 additions and 1 deletions
|
|
@ -65,9 +65,10 @@ class LogSection:
|
||||||
if match := re.search(self.regex, lava_log_line["msg"]):
|
if match := re.search(self.regex, lava_log_line["msg"]):
|
||||||
section_id = self.section_id.format(*match.groups())
|
section_id = self.section_id.format(*match.groups())
|
||||||
section_header = self.section_header.format(*match.groups())
|
section_header = self.section_header.format(*match.groups())
|
||||||
|
timeout = DEFAULT_GITLAB_SECTION_TIMEOUTS[self.section_type]
|
||||||
return GitlabSection(
|
return GitlabSection(
|
||||||
id=section_id,
|
id=section_id,
|
||||||
header=section_header,
|
header=f"{section_header} - Timeout: {timeout}",
|
||||||
type=self.section_type,
|
type=self.section_type,
|
||||||
start_collapsed=self.collapsed,
|
start_collapsed=self.collapsed,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue