Allow whole range of ALRU parameters in test API

Signed-off-by: Jan Musial <jan.musial@intel.com>
This commit is contained in:
Jan Musial
2020-03-10 09:20:57 +01:00
parent 1b0c0f6380
commit 8d86cdfa3b
4 changed files with 27 additions and 25 deletions

View File

@@ -158,10 +158,10 @@ class FlushParametersAlru:
@staticmethod
def alru_params_range():
alru_params = FlushParametersAlru()
alru_params.activity_threshold = (500, 1000000)
alru_params.activity_threshold = (0, 1000000)
alru_params.flush_max_buffers = (1, 10000)
alru_params.staleness_time = (1, 3600)
alru_params.wake_up_time = (1, 3600)
alru_params.wake_up_time = (0, 3600)
return alru_params
def __eq__(self, other):