functional tests: fix setting seq_cutoff policy
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
This commit is contained in:
parent
ac05dadfcd
commit
25bf128c1a
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user