functional tests: fix setting seq_cutoff policy

Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
This commit is contained in:
Michal Rakowski 2020-02-14 14:48:13 +01:00
parent ac05dadfcd
commit 25bf128c1a

View File

@ -199,7 +199,7 @@ def set_param_cutoff_cmd(cache_id: str, core_id: str = None, threshold: str = No
if threshold is not None: if threshold is not None:
add_params += (" -t " if shortcut else " --threshold ") + str(threshold) add_params += (" -t " if shortcut else " --threshold ") + str(threshold)
if policy is not None: if policy is not None:
add_params += (" -p " if shortcut else " --policy ") + policy.name add_params += (" -p " if shortcut else " --policy ") + policy
return _set_param_cmd(namespace="seq-cutoff", cache_id=cache_id, return _set_param_cmd(namespace="seq-cutoff", cache_id=cache_id,
additional_params=add_params, shortcut=shortcut) additional_params=add_params, shortcut=shortcut)