Commit Graph

41 Commits

Author SHA1 Message Date
Katarzyna Treder
e189584557 Add tests for promotion policy
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2025-04-09 13:11:37 +02:00
Katarzyna Treder
476f62b2db Add separate steps for preparing devices, fix indent and move constants
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2025-03-10 14:21:15 +01:00
Katarzyna Treder
ba7d907775 Minor test description and names refactor
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2025-03-10 14:21:15 +01:00
Katarzyna Treder
d973b3850e Introduce tests for cache attach/detach feature
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2025-02-28 12:18:02 +01:00
Katarzyna Treder
e740ce377f Fix imports
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-31 12:06:18 +01:00
Katarzyna Treder
f7e7d3aa7f Disk tools and fs tools refactor
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-11 18:58:26 +01:00
Katarzyna Treder
58d89121ad Fix names: rename types to type_def
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-11 18:10:46 +01:00
Katarzyna Treder
8a5d531a32 OS tools refactor
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-11 07:58:50 +01:00
Katarzyna Treder
9460151ee5 Move output to connection utils
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-10 12:31:14 +01:00
Katarzyna Treder
d4e562caf9 Move size.py to types
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-10 12:18:38 +01:00
Daniel Madej
75fd39ed7b Update/fix to test_concurrent_caches_flush
No need to run fio in background. This fixes the issue that
one of the tests didn't wait for fio to finish before
checking stats.
More informative error messages.

Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-10-15 09:46:36 +02:00
Daniel Madej
3c20937d7f Update for test_multistream_seq_cutoff_functional
Throw exception when dd runs out of space
Shorter logs
Blocks instead of bytes in error message

Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-10-02 08:42:20 +02:00
Kamil Gierszewski
df8705373c
tests: fix test for cleaning policy
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-23 12:54:12 +02:00
Kamil Gierszewski
e8bdcdae4f
tests: update tests
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-09 12:54:20 +02:00
Karolina Rogowska
82e4c46b8b marking tests that are os-dependent
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-10-17 17:03:55 +02:00
Damian Raczkowski
f57b01ee31 tests: refactor fault_injection tests
Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
2022-10-05 12:29:39 +02:00
Karolina Rogowska
851cd2c940 test_seq_cutoff_multi_core improved to has 2 variants
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-01-14 14:59:37 +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
Karolina Rogowska
f057eba2cb Removing 'metadata_mode' leftovers
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-09-27 15:35:44 +02:00
Robert Baldyga
1c506bfa8a
Merge pull request #898 from karolinavelkaja/cleanup_framework_eviction_policy
cleanup framework - eviction policy
2021-08-20 10:21:32 +02:00
Robert Baldyga
9dd49e2964
Merge pull request #918 from Deixx/test-seq-workload-change
Limit workload for large cores in seq cutoff test
2021-08-20 10:21:22 +02:00
Daniel Madej
b6f33e733b Limit workload for large cores in seq cutoff test
So far the test was writing data equal in size to the core size.
With xTB cores this results in a very long execution time.

Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2021-08-11 11:23:08 +02:00
Karolina Rogowska
1d24c62f0e test_concurrent_flushes - use HDD disk as a core
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-07-28 16:02:03 +02:00
Karolina Rogowska
beb36f045c cleanup framework - eviction policy
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-07-28 14:08:10 +02:00
klapinsk
5b722b3a07 Scope tests fixes
Signed-off-by: klapinsk <katarzyna.lapinska@intel.com>
2021-04-30 14:46:52 +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
Robert Baldyga
22b4288f3d tests: Update tests after test-framework API changes
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-01-05 20:35:58 +01:00
Robert Baldyga
ea581953e1 Shorten cleaner thread name
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2020-12-30 18:12:21 +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
Katarzyna Lapinska
a3860c6be1 Add tests for multistream sequential cutoff
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-12-18 14:22:21 +01:00
Slawomir Jankowski
13c8525448 Test for removing core when the other one is mounted
and core numeration is custom - each core ID starts with the same digit.

Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-08-13 13:55:46 +02:00
Slawomir Jankowski
b8e840ceab Test for removing core when the other one is mounted
and core numeration is automatic - each core ID starts with different digit.

Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-08-13 13:55:07 +02: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
Slawomir Jankowski
207a3b7b7e Add test for concurrent cache flushing processes
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-06-05 12:46:51 +02:00
Slawomir Jankowski
8f6491bcc0 Add test for concurrent core flushing processes
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-06-05 12:46:51 +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
Daniel Madej
bfddd0dd60 Size alignment update in tests
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-02-07 09:49:51 +01:00
Robert Baldyga
74aac27006
Merge pull request #255 from rafalste/tests_cleaning_policy
Add tests for cleaning policies operation
2020-01-17 17:22:08 +01:00
Rafal Stefanowski
1e0ed86ce7 Add tests for cleaning policy operation
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-01-16 17:12:25 +01:00
Katarzyna Lapinska
3cf0cf2642 Cleanup test groups (fault injection and cache ops) 2020-01-16 09:52:30 +01:00
Rafal Stefanowski
d0f19af99a Add tests for dynamic cache mode switching
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-12-20 16:38:10 +01:00