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
d4ccac3e75
Refactor trim stress test to use fio instead of vdbench
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-31 12:06:27 +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
d4e562caf9
Move size.py to types
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-10 12:18:38 +01:00
Kamil Gierszewski
cf68fb226b
tests: fix dmesg getting in test
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-10-11 10:36:50 +02:00
Kamil Gierszewski
004062d9fd
tests: fix test file path
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-10-11 10:36:50 +02:00
Katarzyna Treder
e711dc981d
Remove test trim duplicate and update the original one
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-04 13:47:18 +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
Rutkowski, Adam J
73716e89ca
tests: remove test_trim_eviction
...
There are multiple issues with this test, but regardless
of them it seems that it duplicates existing trim tests.
The intention of the test is to verify that there is no
eviction when inserting to cache after a trim. This
is equivalent to checking that a trim reduced cache
occupancy, and this is done in other trim test
(test_trim_device_discard_support).
Signed-off-by: Rutkowski, Adam J <adam.j.rutkowski@intel.com>
2022-09-28 14:22:12 +02:00
Robert Baldyga
a9260524e0
Merge pull request #1277 from pdebski21/test_fixes3
...
Tests fixes
2022-09-13 09:41:45 +02:00
Piotr Debski
98e2cb02c5
Tests fixes for test_write_fetch_partial_misses and test_write_fetch_full_misses
...
correct base device path - fixes for test_write_fetch_partial_misses and test_write_fetch_full_misses
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-08-11 12:30:35 +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
Michal Mielewczyk
304f09e171
tests: fix test_trim_device_discard_support
...
Instead of using workarounds, make sure to flush all the data to the disk
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-07-05 11:59:04 +02:00
Michal Mielewczyk
67aac6de1d
tests: reformat test_trim_eviction
...
This commit doesn't introduce any changes to the flow of the tests.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-06-17 11:18:17 +02:00
Michal Mielewczyk
9ad1d878a2
tests: fix test_trim_eviction
...
Replace ddrescue with dd
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-06-17 11:16:37 +02:00
Michal Mielewczyk
800d6a0eeb
tests: fix trim test
...
Since XFS is quite lazy with sending discards, create additional file to ensure
that the requests are actually issued
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-06-09 14:50:02 +02:00
Michal Mielewczyk
e526345ef7
tests: fix test_trim_start_discard
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-03-22 07:45:47 +01:00
Michal Mielewczyk
e46b732b28
tests: test for propagating discard reqs to cache
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-03-21 11:48:45 +01:00
Michal Mielewczyk
6a33024304
tests: fix trim eviction test
...
Instead of creating a test file twice (once with `direct` flag and once with
`sync` flag), prepare it only once (with `sync` flag). Additionally allow
classifier to settle after the IO.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-02-21 09:14:43 +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
31c8d7866a
test_io_engines fix - remove rbd io engine from io engine parameters
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-08-05 14:14:53 +02:00
Karolina Rogowska
dd83fcb7e7
improve test_trim_device_discard_support
...
- adding more time for discards monitoring
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-05-11 14:56:18 +02:00
Katarzyna Łapińska
c9938d1e4c
Merge pull request #773 from katlapinka/test-fixes
...
Scope minor tests fixes
2021-05-10 13:56:13 +02:00
Katarzyna Łapińska
dd65a4fe7c
Merge pull request #635 from katlapinka/trim-test-fix
...
Device not supporting discards instead of random HDD in test checking discards support
2021-04-30 14:48:59 +02:00
klapinsk
5b722b3a07
Scope tests fixes
...
Signed-off-by: klapinsk <katarzyna.lapinska@intel.com>
2021-04-30 14:46:52 +02:00
Michal Mielewczyk
3503d81d9b
tests: fix trim eviction test
...
Consider IO to metadata as vaild
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-04-28 09:51:18 +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
Katarzyna Lapinska
72be34c58e
Device not supporting discards instead of random HDD in test checking discards support
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2021-01-15 12:02:08 +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
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
Robert Baldyga
a61012a7a1
Merge pull request #573 from karolinavelkaja/security_io_engines_test
...
Adding test 'test_io_engines'
2020-12-21 10:00:31 +01:00
Katarzyna Lapinska
6f326fe2e6
Change required cache device type for test checking discards at cache start
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-12-11 15:08:11 +01:00
Karolina Rogowska
343c5b8ef4
Adding test 'test_security_io_engines'
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2020-12-09 17:40:56 +01:00
Katarzyna Lapinska
85df47cddd
Add trim tests using devices supporting and not supporting discards
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-10-21 09:33:23 +02:00
Robert Baldyga
f12274eb24
Merge pull request #488 from katlapinka/trim-stress
...
Add trim stress test
2020-08-19 17:45:10 +02:00
Robert Baldyga
ed0052f502
Merge pull request #486 from katlapinka/trim-eviction
...
Add test verifying if trim request does not cause eviction on CAS device
2020-08-19 15:48:03 +02:00
Katarzyna Lapinska
0b455ada64
Add test verifying if trim request do not cause eviction on CAS device
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-08-17 14:30:08 +02:00
Katarzyna Lapinska
4a2ead3934
Add trim stress test
...
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-08-17 14:27:48 +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
Katarzyna Lapinska
f11a8a5ae3
Rename cache mode trait lazy flush to lazy writes
2020-02-10 11:49:30 +01:00
Katarzyna Lapinska
4e573a746a
Add write fetch tests
2020-02-03 14:38:19 +01:00