Rafal Stefanowski
b6d9892499
Add string representation for cleaning policy
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-12-18 10:17:27 +01:00
Rafal Stefanowski
a9f74d43a2
Fix Time class output
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-12-18 10:17:06 +01:00
Rafal Stefanowski
b1c90bf574
Fix typo in casadm_parser.py
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-12-18 10:16:27 +01:00
Adam Rutkowski
da7005c1f9
Merge pull request #220 from rafalste/fix_tests_for_new_stats_api
...
Fix tests to use new statistics API
2019-12-11 16:32:34 +01:00
Robert Baldyga
7fb9d1008e
Merge pull request #218 from rafalste/stats_api
...
Add new statistics API
2019-12-11 16:24:29 +01:00
Rafal Stefanowski
1899b1e853
Add new statistics API
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-12-11 16:00:03 +01:00
Marcin Dziegielewski
3d06a8191a
Add two new tests - data integrity 12h.
...
Submodule update.
Signed-off-by: Marcin Dziegielewski <marcin.dziegielewski@intel.com>
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-12-10 18:38:50 +01:00
Jan Musiał
9c7b485cef
Merge pull request #207 from rafalste/tests_fault_injection
...
Add fault injection tests (same ID, remove IO)
2019-12-10 15:36:33 +01:00
Rafal Stefanowski
017ec7196a
Fix tests to use new statistics API
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-12-10 15:06:54 +01:00
Katarzyna Łapińska
60200e9fb8
Merge pull request #203 from robertbaldyga/dont-copy-results
...
tests: Don't copy previous results to DUT during CAS installation
2019-12-03 09:00:35 +01:00
Rafal Stefanowski
c168244fa6
Fix attribute reference
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-12-02 14:35:08 +01:00
Katarzyna Łapińska
c5af20daee
Merge pull request #185 from Deixx/test-fixes
...
Test fixes
2019-11-29 15:10:12 +01:00
Robert Baldyga
a53846953c
Use TestRun.makereport()
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-29 13:04:25 +01:00
Robert Baldyga
263f3137da
Raise exception instead of using TestRun.exception()
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-29 13:04:25 +01:00
Rafal Stefanowski
f68d34b3ad
Add fault injection tests (same ID, remove IO)
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-11-29 10:44:07 +01:00
Rafal Stefanowski
923015ed1e
Improve handling of process killing
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-11-28 11:50:44 +01:00
Daniel Madej
695d9a688f
Changes after review
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2019-11-27 15:27:48 +01:00
Daniel Madej
830bcfd1b0
Test for exporting current IO class configuration to a file
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2019-11-27 15:27:48 +01:00
Daniel Madej
ca115949ad
Create IoClass class for rule management
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2019-11-27 15:27:48 +01:00
Daniel Madej
c1872c3365
Update test-framework version
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2019-11-27 15:27:48 +01:00
Robert Baldyga
c1a82dd5ff
tests: Don't copy previous results to DUT during CAS installation
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-27 13:42:25 +01:00
Robert Baldyga
913be2c7b8
tests: Don't use log before it's created
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-27 13:10:01 +01:00
Robert Baldyga
6e1770804b
tests: Add missing import pytests in conftest.py
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-27 12:46:38 +01:00
Michał Mielewczyk
e70a807839
Merge pull request #200 from robertbaldyga/fix-exceptions
...
tests: Handle pytest test state properly
2019-11-27 11:11:31 +01:00
Robert Baldyga
116d13364b
tests: Handle pytest test state properly
...
- Log information about test fail in case of exception.
- Skip teardown in case of test skip (setup is skipped by default).
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-27 10:42:25 +01:00
Katarzyna Łapińska
e46cd24892
Merge pull request #196 from rafalste/fix_indent
...
Fix CacheConfig class indentation issue
2019-11-26 09:27:00 +01:00
Michał Mielewczyk
43a4a92821
Merge pull request #195 from rafalste/flush_handling
...
tests: Improve flush handling during cache mode change
2019-11-25 16:53:51 +01:00
Rafal Stefanowski
66c695bd1e
Fix CacheConfig class indentation issue
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-11-25 16:53:07 +01:00
Rafal Stefanowski
901fc402fd
tests: Improve flush handling during cache mode change
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2019-11-25 09:27:59 +01:00
Michal Mielewczyk
be438dbe7c
Extend example dut config wih 'allow_disk_autoselect' option.
...
By setting 'allow_disk_autoselect: True' user grants to framework permission
to autodiscover and override DUT's disks.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-11-20 22:09:40 -05:00
Michal Mielewczyk
9c31e15d48
Override DUT's disks in conftest.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-11-20 22:07:19 -05:00
Michal Rakowski
2203a46319
tests: add basic sequential cut off tests
2019-11-21 12:24:37 +01:00
Michal Rakowski
56b9ec1794
tests: sequential cut off related methods fixup
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2019-11-20 07:52:06 +01:00
Michał Mielewczyk
ac59a8f746
Merge pull request #183 from robertbaldyga/test-guidelines
...
tests: Introduce test writing guidelines
2019-11-19 09:00:44 +01:00
Jan Musiał
126615add1
Merge pull request #184 from katlapinka/improve-error-handling
...
Improve error handling and exception messages
2019-11-18 13:57:49 +01:00
Jan Musial
df1ba933de
Update tests
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2019-11-18 09:18:05 +01:00
Katarzyna Lapinska
783daba8d4
Improve error handling and exception messages
2019-11-14 10:47:57 +01:00
Daniel Madej
235def1ec5
Remove logging objects
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2019-11-12 18:56:15 +01:00
Daniel Madej
252f7104ca
Fix - core and cache could use the same device
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2019-11-12 18:56:15 +01:00
Daniel Madej
ccfc7001dc
casadm returns Stats object instead of dict
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2019-11-12 18:56:15 +01:00
Daniel Madej
034fa9b61c
Use CmdException for casadm outputs
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2019-11-12 18:55:22 +01:00
Robert Baldyga
17241575d5
tests: Introduce test writing guidelines
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-08 17:30:19 +01:00
Katarzyna Lapinska
11352a6d21
Add stress tests without I/O
2019-11-07 17:04:34 +01:00
Robert Baldyga
4da68f426d
tests: Update example using new utils
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-07 10:43:10 +01:00
Michał Mielewczyk
07d8fdbf01
Merge pull request #177 from katlapinka/opencas-plugin-as-singleton
...
Make opencas plugin as singleton class
2019-11-06 11:44:44 +01:00
Michał Mielewczyk
343d041160
Merge pull request #176 from robertbaldyga/config-type-field
...
tests: Add field 'type' to example dut config
2019-11-06 11:38:58 +01:00
Katarzyna Lapinska
eedb4ded7c
Make opencas plugin as singleton class
2019-11-06 08:32:29 +01:00
Robert Baldyga
fe5dd80c0c
tests: Don't call base_prepare() in tests
...
The base_prepare() function is now called automatically during test
setup so there is no longer need to call it from each test manually.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-05 18:54:02 +01:00
Michał Mielewczyk
5d643a48d8
Merge pull request #172 from robertbaldyga/update-installer
...
tests: Update installer
2019-11-05 14:49:39 +01:00
Robert Baldyga
7dd5a6fc12
tests: Remove unused adoptions
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-04 14:46:36 +01:00