Robert Baldyga
fda732df04
Merge pull request #1285 from karolinavelkaja/basic_start_test
...
tests: add basic test for starting cas for CI
2022-07-22 10:18:39 +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
Jan Musial
0d3b65c6c6
test api: Utility to shorten CAS boot timeout in tests
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-07-18 11:01:26 +02:00
Robert Baldyga
15c05a64c3
Merge pull request #1275 from mmichal10/startup-test
...
Startup test
2022-07-18 10:23:08 +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
Michal Mielewczyk
aa5e11df9b
test api: utility for removing opencas.conf file
...
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
d72cdf5251
Merge pull request #1274 from pdebski21/try_add_missing_cache_id_param
...
Add core, try-add script missing core-id parameter fix
2022-07-14 12:37:57 +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
Adam Rutkowski
a32495f0af
Merge pull request #1271 from jfckm/startup-scenarios
...
Tests scenarios for CAS startup incl failover
2022-07-12 11:40:45 +02:00
Piotr Debski
dd95c8be4d
Add core, try-add script missing core-id parameter fix
...
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-07-12 11:14:44 +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
Adam Rutkowski
124075783f
Merge pull request #1260 from kmajzero/test_activate_perf
...
Implementation of test_cache_activation_time
2022-07-07 18:44:25 +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
be8cbcfe43
API fix obligatory parameter in core try add - (core id)
...
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-07-06 10:41:19 +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
Robert Baldyga
a448e24316
Merge pull request #1267 from kmajzero/test_standby_init_api_fix
...
API fix for casadm standby init
2022-07-06 09:45:40 +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
Robert Baldyga
fbe0fc90ec
Merge pull request #1259 from mmichal10/detect-fs
...
Fix standby detach
2022-07-05 08:36:46 +02:00
Kamil Gierszewski
e07bfd12ad
tests:fix_test_active_neg_cli_params
...
Signed-off-by: Kamil Gierszewski <kamilx.gierszewski@intel.com>
2022-07-04 16:13:40 +02:00
pskwarlo
3ff56e77de
Test for activating the same cache path
...
Signed-off-by: Pawel Skwarlo <pawel.skwarlo@intel.com>
2022-07-04 10:59:58 +02:00
Michal Mielewczyk
a33896573e
Fix standby detach
...
As the check added in commit a90839f286
tries to open the caching devcie
exclusively, it is impossible to detach cache from a standby instance.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-07-04 10:27:26 +02:00
Robert Baldyga
f97d8f3eff
Merge pull request #1256 from Kgierszx/Fix_DRBD_cleanup
...
tests: Fix DRBD cleanup
2022-07-01 23:04:39 +02:00
Robert Baldyga
ed9bacf0b5
Merge pull request #1257 from robertbaldyga/update-ocf-20220630
...
Update OCF version
2022-06-30 14:10:00 +02:00
Robert Baldyga
d4de87d584
Update OCF version
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-06-30 13:57:55 +02:00