Commit Graph

40 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
81e792be99 Move Time to types
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
2024-12-10 12:20:31 +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
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
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
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
Kamil Gierszewski
e8bdcdae4f
tests: update tests
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
2024-09-09 12:54:20 +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
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
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
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
67d0729355 Fixing imports in test_udev
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2021-09-27 15:49:30 +02:00
klapinsk
d4b3f26241 Remove inactive commands tests and API update
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2021-09-08 13:03:57 +02:00
klapinsk
5b722b3a07 Scope tests fixes
Signed-off-by: klapinsk <katarzyna.lapinska@intel.com>
2021-04-30 14:46:52 +02:00
Katarzyna Lapinska
87f68bb2f5 Fixes in tests and CAS API due to the change with by-id devices paths
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2021-01-26 13:19:47 +01: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
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
Katarzyna Lapinska
37b5c3c47a Add missing import to udev tests
Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
2020-12-11 15:15:53 +01:00
Robert Baldyga
a9d33eb6ac
Merge pull request #513 from Ostrokrzew/fixes
Minor refactorings and updates
2020-11-26 13:23:01 +01:00
Slawomir Jankowski
cae2dd2ef5 Fix incremental load tests
Inactive statistics for particular modes:
WT      only dirty should be zero
WA, PT  all should be zero
WB, WO  only clean should be zero

Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
f6ec36e49e Increase readability
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
a99da7fa85 Add 1-second pause after plugging device
sometimes test cannot find plugged device, because plug operation is too slow

Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Slawomir Jankowski
607ad5d16c Use Time wrapper instead of timedelta
because `set_params_alru` uses method `total_milliseconds()`

Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-11-05 14:06:55 +01:00
Daniel Madej
59596a77ab Test CAS udev rules with RAID devices
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-10-09 12:30:51 +02:00
Slawomir Jankowski
4b39811c43 Add 'os_dependent' marker to tests
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-08-12 15:39:03 +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
Robert Baldyga
1e25420f86
Merge pull request #404 from rafalste/copyright_update
Update copyright statements
2020-05-19 11:25:11 +02:00
Rafal Stefanowski
44b4020cc1 Update copyright statements
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-05-04 16:47:38 +02:00
Daniel Madej
f31587fc9d Refactor check_msg + fixes in touched files
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-04-29 11:55:08 +02:00
Katarzyna Lapinska
35f3409a47 Add incremental load udev tests 2020-01-17 09:37:10 +01:00
Jan Musiał
662129aa40
Merge pull request #226 from katlapinka/incremental-load-tests
Add incremental load tests
2019-12-20 13:30:55 +01:00
Katarzyna Lapinska
844411864f Add incremental load tests with core pool 2019-12-20 10:13:25 +01:00
Katarzyna Lapinska
3ebf3fb913 Add incremental load tests 2019-12-19 14:24:19 +01:00