[CI] Skip absent inline suites when loading timeouts (#33410)
This commit is contained in:
@@ -63,7 +63,7 @@ def load_run_timeouts(pr_test_yml_path: str) -> dict:
|
|||||||
with_ = job.get("with") or {}
|
with_ = job.get("with") or {}
|
||||||
suite = with_.get("self_name", job_id)
|
suite = with_.get("self_name", job_id)
|
||||||
timeouts[suite] = int(with_["run_timeout_minutes"])
|
timeouts[suite] = int(with_["run_timeout_minutes"])
|
||||||
for suite in _INLINE_SUITE_JOBS:
|
for suite in _INLINE_SUITE_JOBS.intersection(jobs):
|
||||||
budgets = [
|
budgets = [
|
||||||
s["timeout-minutes"]
|
s["timeout-minutes"]
|
||||||
for s in ((jobs.get(suite) or {}).get("steps") or [])
|
for s in ((jobs.get(suite) or {}).get("steps") or [])
|
||||||
|
|||||||
Reference in New Issue
Block a user