Commit Graph

16 Commits

Author SHA1 Message Date
Adam Rutkowski
39fbe873df Fix test_cleaning_policy_config ALRU assumptions
ALRU does not have a configurable sleep time between active awakenings
of the cleaning thread. Once it starts cleaning, it does not back off
unless staleness time and/or activity threshold constraints force it
to do so.

Changing test_cleaning_policy_config assumptions so that it only checks
whether minimum expected amount of data is cleaned rather than assume
exact amount of data to be cleaned.

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2022-09-30 18:18:10 +02:00
Robert Baldyga
c46a3beb3f Fix license headers in tests
Some tests added after license cleanup still have bad license header.
Change it to the proper one.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-09-21 11:59:34 +02:00
Adam Rutkowski
b5d4ee3c14
Merge pull request #940 from Deixx/test-cleaning
Add test for configuring cleaning policies
2022-09-06 16:32:46 +02:00
Robert Baldyga
c899abe1b3 Add missing license headers
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-07-22 09:17:16 +02:00
Adriana Nikelska
2c0b1e8311 Add test_switch_cleaning_policy
Signed-off-by: Adriana Nikelska <adrianax.nikielska@intel.com>
2022-05-25 13:36:17 +02:00
Daniel Madej
baac399c43 Test updates addressing test fail false positives
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2022-02-15 11:48:05 +01:00
Rafal Stefanowski
acec05060d Fix license
Change license to BSD-3-Clause

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-10-28 12:46:42 +02:00
Daniel Madej
3b3f120c2e Add test for configuring cleaning policies
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2021-09-07 11:00:59 +02:00
Daniel Madej
ffa7eb0b19 Moved tests from acp_params.py to test_acp.py
Minor fixes in test_alru.py

Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2021-08-31 08:05:26 +02:00
Rafal Stefanowski
43f43068ad Update copyright statements (2021)
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-01-21 13:15:38 +01:00
Slawomir Jankowski
17f440de10 Update TF and functional tests API
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-12-22 16:29:33 +01:00
Jan Musial
31fda78be4 Use parametrizex in tests
Signed-off-by: Jan Musial <jan.musial@intel.com>
2020-08-11 13:05:15 +02:00
Rafal Stefanowski
44b4020cc1 Update copyright statements
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-05-04 16:47:38 +02:00
Katarzyna Lapinska
1cf56d9d6c Tests directories cleanup 2020-04-27 15:24:01 +02:00
Michal Mielewczyk
b28e2614c0 Test for acp wake up time param.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-02-17 07:28:04 -05:00
Michal Mielewczyk
230667a219 Test for acp flush max buffers param.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-02-17 03:52:17 -05:00