From 38c1b5575cfa46a1a9d301bb4d73163f385749be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Prchl=C3=ADk?= Date: Thu, 12 Sep 2024 14:54:54 +0200 Subject: [PATCH] Fix position of `hardware` filter in `mrack` request This was broken in 1.36.0, therefore HW requirements were ignored. --- tmt/steps/provision/mrack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmt/steps/provision/mrack.py b/tmt/steps/provision/mrack.py index 305154b24a..d5fd5af862 100644 --- a/tmt/steps/provision/mrack.py +++ b/tmt/steps/provision/mrack.py @@ -679,7 +679,7 @@ def create_host_requirement(self, host: CreateJobParameters) -> dict[str, Any]: req: dict[str, Any] = super().create_host_requirement(dataclasses.asdict(host)) if host.hardware and host.hardware.constraint: - req['beaker'] = self._translate_tmt_hw(host.hardware) + req.update(self._translate_tmt_hw(host.hardware)) if host.beaker_job_owner: req['job_owner'] = host.beaker_job_owner