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
Kamil Gierszewski
4b74c65969
tests: fix checksec permissions
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-10-11 10:36:49 +02:00
Kamil Gierszewski
51962e4684
tests: refactor test_inactive_cores
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-10-11 10:36:49 +02:00
Kamil Gierszewski
daea1a433a
tests: fix test_simulation_startup
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-10-11 02:42:56 +02:00
Kamil Gierszewski
c32650af0b
tests: fix test recovery
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-10-11 02:42:56 +02:00
Katarzyna Treder
375fce5a19
Add tests for io classification statistics per core
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-10-10 20:45:24 +02:00
Kamil Gierszewski
625cec7838
tests: update tests
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-10-09 14:47:48 +02:00
Daniel Madej
0999e601b8
Remove redundant unmount
...
remove_partitions() includes unmounting them
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-10-04 08:58:35 +02:00
Daniel Madej
c2662072a4
Fix mdadm --zero-superblock problem in cleanup
...
Cleanup handled mounted partitions but not the whole device
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-10-04 08:46:57 +02:00
Daniel Madej
663b42804d
Update test_stats_values test
...
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-10-03 17:19:03 +02:00
Daniel Madej
6e781fe464
Update test_stats_max tests
...
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-10-03 17:19:03 +02:00
Daniel Madej
aa0dc4d7ee
Thorough update of test_block_stats.py
...
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-10-03 17:19:03 +02:00
Michal Mielewczyk
1ae15bdb6b
tests: Fix test_flush_over_640_gibibytes_with_fs
...
Don't interrupt the test if prerequisites are not met
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2024-10-03 12:53:40 +02:00
Michal Mielewczyk
c41d5d7176
tests: Fix test_flush_over_640_gibibytes_with_fs
...
4h timeout for copying and calculating crc
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2024-10-03 12:53:40 +02:00
Michal Mielewczyk
f2f98226d8
tests: Fix test_flush_over_640_gibibytes_with_fs
...
As crc32 is supposed to be slightly faster than md5 use it to detect DC
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2024-10-03 12:53:40 +02:00
Michal Mielewczyk
d456674c9a
tests: fix test_flush_over_640_gibibytes_with_fs
...
The test requires quite some space(640G) to prepare a file on a separate
(not-cached) filesystem. Creating the file in rootfs is prone to (vague) errors
due to limited space.
To make sure that the test has all the required space available, create the file
on a separate disk
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2024-10-03 12:53:40 +02:00
Robert Baldyga
1fd718fcb0
Merge pull request #1536 from Deixx/perf-100p-refactor
...
Update test_4k_100p_hit_reads_wt
2024-10-02 10:33:06 +02:00
Robert Baldyga
67d9379c5f
Merge pull request #1543 from Deixx/mstream-seq-cutoff-fix
...
Update for test_multistream_seq_cutoff_functional
2024-10-02 10:32:26 +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
Daniel Madej
829dbf9ba5
Update for test_parallel_core_flushing
...
Add oflag=direct
Stop cache before calculating backend md5 sums
Check all cores before ending test on fail
Print flushing progress in log
Check occupancy and dirty for each core
Minor fix and refactor
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-09-30 17:26:19 +02:00
Kamil Gierszewski
39c4a3be4e
tests: refactor test_init_status
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-30 09:57:54 +02:00
Kamil Gierszewski
b3cb1251cc
tests: refactor test_clean_reboot
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-30 09:57:53 +02:00
Kamil Gierszewski
61ff8f60c5
tests: reformat test_clean_reboot
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-30 09:57:53 +02:00
Kamil Gierszewski
41460f0e6c
tests: fix incremental load test
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-30 09:57:53 +02:00
Kamil Gierszewski
9cf90e61b6
tests: fix udev test
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-30 09:57:52 +02:00
Kamil Gierszewski
97e3002d21
tests: fix plug usage
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-30 09:57:52 +02:00
Daniel Madej
0d19498eb5
Update test_4k_100p_hit_reads_wt
...
Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
2024-09-26 16:20:05 +02:00
Kamil Gierszewski
64e4b8d9a7
tests: fix test_cli_help test
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-23 17:16:50 +02:00
Kamil Gierszewski
8d4262079e
tests: fix test_negative_start_cache
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-23 13:20:41 +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
173810ad6d
tests: fix tests after tf disk recognition refactor
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-16 10:18:50 +02:00
Katarzyna Treder
a1ff17bbd3
Change path type to string in fs_utils remove command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-13 11:35:36 +02:00
Robert Baldyga
de16763bec
Merge pull request #1496 from Kamoppl/kamilg/update_tests
...
tests: update tests
2024-09-10 14:35:18 +02:00
Katarzyna Treder
b15076a22e
Fuzzy tests for casadm 'print statistics' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
e8fbc624ed
Fuzzy tests for casadm 'set param' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
4efdf36f45
Fuzzy tests for casadm 'load io class' command and for io class config
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
b8364ea593
Fuzzy tests for casadm 'get param' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
1861758c6a
Fuzzy tests for casadm 'flush' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
7f843fd6bf
Fuzzy tests for casadm 'set cache mode' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
aeb0321393
Fuzzy tests for casadm 'stop' and 'remove' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
fd7cf1ad7d
Fuzzy tests for casadm 'start cache' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
f4bfd5398e
Fuzzy tests for casadm 'io class list' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
981946de7d
Fuzzy tests for casadm 'add core' command
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
8156abdd12
Add missing peach fuzzer config files
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Katarzyna Treder
619a6c8e2a
Refactor common fuzzy files
...
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-09-10 12:01:27 +02:00
Kamil Gierszewski
df3c759de8
test-conftest: fix git
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-10 10:39:08 +02:00
Kamil Gierszewski
077820f1c0
test-conftest: remove autoinstall and update conftest
...
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-10 10:24:38 +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
Robert Baldyga
f0727cce62
Merge pull request #1503 from mmichal10/block-standy
...
Block standby
2024-09-09 11:16:42 +02:00
Michal Mielewczyk
0f0ef79b89
Disable standby mode
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2024-09-06 13:23:07 +02:00