test api: allow alru optional params be optional

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
Michal Mielewczyk 2022-04-12 10:32:14 +02:00
parent 316cd46942
commit cfb4841ddc

View File

@ -295,8 +295,8 @@ def set_param_cleaning_cmd(cache_id: str, policy: str, shortcut: bool = False):
additional_params=add_params, shortcut=shortcut)
def set_param_cleaning_alru_cmd(cache_id, wake_up, staleness_time,
flush_max_buffers, activity_threshold,
def set_param_cleaning_alru_cmd(cache_id, wake_up=None, staleness_time=None,
flush_max_buffers=None, activity_threshold=None,
shortcut: bool = False):
add_param = ""
if wake_up is not None: