mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 18:24:13 +08:00
ci: fix run_n_monitor single execution
When there is a single job as a target and, when it is triggered, it takes more than one loop time in pending status, it confuses the script to fall in a wrong return of the pipeline monitoring. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11517 Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30219>
This commit is contained in:
parent
15461dc62f
commit
e6de8e2533
@ -191,7 +191,7 @@ def monitor_pipeline(
|
||||
|
||||
print("---------------------------------", flush=False)
|
||||
|
||||
if len(target_statuses) == 1 and {"running"}.intersection(
|
||||
if len(target_statuses) == 1 and RUNNING_STATUSES.intersection(
|
||||
target_statuses.values()
|
||||
):
|
||||
return target_id, None, execution_times
|
||||
|
Loading…
Reference in New Issue
Block a user