Commit Graph

22 Commits

Author SHA1 Message Date
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
Michal Mielewczyk
0f0ef79b89 Disable standby mode
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
2024-09-06 13:23:07 +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
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
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
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
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
Piotr Debski
b7792bbb56 Tests standby init with preexisting metdata and filesystem
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-06-29 13:44:26 +02:00
Piotr Debski
40fb2a916e Test standby activate with cache line size mismatch
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-05-18 09:52:42 +02:00
Piotr Debski
80689baa81 Test activate without detach
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-05-11 09:59:49 +02:00
Piotr Debski
290a72054d Test start standby cache with mutually exclusive parameters
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-04-19 10:35:35 +02:00
Michal Mielewczyk
66df560c4a tests: add test_standby_neg_cli_management
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-04-14 10:47:25 +02:00
Piotr Debski
927270cca1 Test standby activate with negative cli parameters
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-04-07 20:20:26 +02:00
Michal Mielewczyk
e0744fa230 tests: standby negative cli test
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-04-07 09:15:37 +02:00