Rafal Stefanowski
58ba99aa4a
test/api: Check for particular CAS version before test
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-08-18 14:06:00 +02:00
Michał Mielewczyk
f82719231d
Merge pull request #1305 from arutk/drbdcmf
...
Update DRBD API usage (create-md requires force param)
2022-08-12 08:39:32 +02:00
Rutkowski, Adam J
0a742831f4
Update DRBD API usage (create-md requires force param)
...
Signed-off-by: Rutkowski, Adam J <adam.j.rutkowski@intel.com>
2022-08-11 13:21:53 +02:00
Robert Baldyga
3350c801ae
Merge pull request #1264 from pskwarlo/tsadcp
...
Add test_standby_activate_different_cache_path test
2022-08-08 17:34:30 +02:00
Pawel Skwarlo
32a87f1e0e
Test for activating different cache path
...
Signed-off-by: Pawel Skwarlo <pawel.skwarlo@intel.com>
2022-08-08 14:54:47 +00:00
Robert Baldyga
b01b1c7c4f
Merge pull request #1282 from pdebski21/mark_standby_injection_tests
...
Add CI marks to standby fault injection tests
2022-08-06 13:45:43 +02:00
Robert Baldyga
f0991a4d0a
Merge pull request #1291 from pdebski21/test_fixes4
...
Test fixes
2022-08-06 13:36:28 +02:00
Robert Baldyga
17fe6976bc
Merge pull request #1295 from pskwarlo/tcp
...
Test cleaning policy.
2022-08-06 09:48:32 +02:00
Pawel Skwarlo
d7f80d25af
Black module code formatting fix.
...
Signed-off-by: Pawel Skwarlo <pawel.skwarlo@intel.com>
2022-08-04 15:28:20 +00:00
Pawel Skwarlo
2df39d052d
Test cleaning policy.
...
Signed-off-by: Pawel Skwarlo <pawel.skwarlo@intel.com>
2022-08-04 15:21:57 +00:00
Karolina Rogowska
b987fb32a2
Merge pull request #1290 from karolinavelkaja/fix_test_check_number_of_processes
...
tests: fix test_check_number_of_processes
2022-08-03 16:47:36 +02:00
Piotr Debski
11b7f081f1
Fix for test test_interrupt_core_remove
...
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-08-01 13:54:21 +02:00
Karolina Rogowska
e437523622
Merge pull request #1284 from pdebski21/include_standby_tests_ci_scope
...
Include standby tests for CI scope
2022-07-27 12:38:35 +02:00
Karolina Rogowska
170f62a2ba
fix test_check_number_of_processes
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-07-26 16:57:13 +02:00
Michal Mielewczyk
c13dd5bc88
tests: improve standby fault injection tests
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-07-25 13:00:35 +02:00
Piotr Debski
d678612c35
Include standby tests for CI scope
...
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-07-25 10:31:06 +02:00
Robert Baldyga
9081ce3bb6
Merge pull request #1286 from robertbaldyga/license-headers-__init__.py
...
Add missing license headers
2022-07-22 14:48:00 +02:00
Karolina Rogowska
606cc14ba9
add basic test for starting cas for CI
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-07-22 09:32:50 +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
Robert Baldyga
f54a5e4be1
Merge pull request #1283 from mmichal10/test-wlth
...
tests: add test_ioclass_wlth test
2022-07-21 13:58:48 +02:00
Robert Baldyga
bf822ada23
Merge pull request #1279 from jfckm/startup-negative-tests
...
Startup negative tests
2022-07-21 13:57:38 +02:00
Michal Mielewczyk
c3e5ea86d7
tests: add test_ioclass_wlth test
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-07-21 12:57:30 +02:00
Piotr Debski
5dfe5aa611
Add CI marks to standby fault injection tests
...
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-07-20 11:26:26 +02:00
Robert Baldyga
5190c1dd8b
Merge pull request #1236 from KlaudiaJ/standby-start-stop
...
Tests: Add test_standby_start_stop
2022-07-18 11:16:54 +02:00
Jan Musial
6ca22c380d
tests: Negative CAS boot config tests
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-07-18 11:01:53 +02:00
Jan Musial
301e5208df
test api: Add clean-up for open-cas.service drop-in files
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-07-18 11:01:26 +02:00
Michal Mielewczyk
3092e3bef3
tests: add test_failover_config_startup
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-07-18 09:43:03 +02:00
Michal Mielewczyk
7b9a7ddcfb
tests: add test_cas_startup_lazy
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-07-18 09:43:03 +02:00
Klaudia Jablonska
866cb4d3ce
Tests: Add test_ passive_start_stop
...
Test if cache can be started in standby state and stopped without activation.
Signed-off-by: Klaudia Jablonska <klaudia.jablonska@intel.com>
2022-07-15 17:05:56 +02:00
Karolina Rogowska
66bcc059ae
Merge pull request #1190 from katlapinka/ioclass
...
Add IO class dss tests
2022-07-14 13:08:28 +02:00
Robert Baldyga
7443c1e694
Merge pull request #1273 from jfckm/example-escape
...
Example test for EmergencyEscape
2022-07-14 12:38:45 +02:00
Robert Baldyga
09b9f28505
Merge pull request #1276 from pdebski21/test_fixes2
...
Fixes for tests
2022-07-13 16:37:44 +02:00
Robert Baldyga
a8e3dcc91a
Merge pull request #1270 from arutk/foats
...
failover advanced test scenarios
2022-07-12 15:31:10 +02:00
Piotr Debski
510394a66e
invalid check for core device path in list caches
...
fix for tests test_remove_detached_cores and test_remove_inactive_devices
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-07-12 14:11:26 +02:00
Piotr Debski
28d471d04c
remove inactive core fix in test_print_statistics_inactive
...
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-07-12 12:35:05 +02:00
Jan Musial
f97c0bb3d4
Example test for EmergencyEscape
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-07-11 16:36:30 +02:00
Adam Rutkowski
a8be9d4bf3
failover advanced test scenarios
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2022-07-11 14:15:13 +02:00
Jan Musial
6ad9e468c9
Tests scenarios for CAS startup incl failover
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-07-11 12:39:39 +02:00
Krzysztof Majzerowicz-Jaszcz
27d8a6c956
Implementation of test_cache_activation_time
...
This patch implements a test to check the performance of cache
standby-activate.
Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-07-07 17:14:07 +02:00
Robert Baldyga
dc027bd368
Merge pull request #1269 from kmajzero/fix_test_with_metadata_size_calculation
...
Fix for tests using get_metadata_size()
2022-07-07 12:32:41 +02:00
Krzysztof Majzerowicz-Jaszcz
fce070cace
Fix for tests using get_metadata_size()
...
Since OCF has changed how metadata size is reported (OCF PR #744 ),
get_metadata_size() became get_metadata_size_on_device() and tests
using it are changed accordingly.
OCF version with required changes included in this commit
Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-07-07 09:37:49 +02:00
Robert Baldyga
1b75bb2455
Merge pull request #1263 from pdebski21/test_standby_activate_with_corepool
...
Test standby activate with core from corepool
2022-07-06 15:57:44 +02:00
Piotr Debski
ee296dcdf0
Test standby activate with core from corepool
...
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-07-06 15:25:21 +02:00
Robert Baldyga
ede99f4db4
Merge pull request #1265 from pdebski21/fix_test_core_pool
...
Fix core pool tests
2022-07-06 11:18:47 +02:00
Karolina Rogowska
7dcc77bdec
Merge pull request #1262 from mmichal10/fix-discard-test
...
tests: fix test_trim_device_discard_support
2022-07-06 10:59:49 +02:00
Piotr Debski
e3dec000df
Fix for core pool tests
...
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-07-06 10:41:19 +02:00
Krzysztof Majzerowicz-Jaszcz
09d36d5e11
API fix for casadm standby init
...
Cache line size parameter is handled inconsistently in standby init and
start cache methods.
This patch fixes this inconsistency so both methods accept a proper
CacheLineSize object.
Some of the existing tests needed fixing as well, as included in this
patch.
Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-07-05 20:25:05 +02:00
Robert Baldyga
e82b07746e
Merge pull request #1249 from Kgierszx/fix_active_cli_test
...
tests:fix_test_active_neg_cli_params
2022-07-05 12:08:49 +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
Robert Baldyga
ea7ebe7237
Merge pull request #1229 from pskwarlo/faultinjection
...
Test for activating the same cache path
2022-07-05 09:50:55 +02:00