Slawomir Jankowski
394313002b
Add test for wrong flag combination in start command
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-06-01 13:30:07 +02:00
Robert Baldyga
69da7f5677
Merge pull request #420 from mmichal10/core-id-rule
...
Core id ioclass rule
2020-05-29 15:13:39 +02:00
Michal Mielewczyk
c99631bc73
test api: don't copy sources in set_up_opencas()
...
This way set_up_opencas() can be reused in tests
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-27 09:18:01 -04:00
Michal Mielewczyk
ce84b811b7
test api: split installer into smaller steps
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-27 09:18:01 -04:00
Michal Mielewczyk
b51d75ff5e
Test for core id based io classification
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-25 05:16:35 -04:00
Michal Mielewczyk
c232dd36d9
Test for triggered WBT
2020-05-21 04:30:57 -04:00
Robert Baldyga
673ff88fff
Merge pull request #383 from rafalste/tests_stat_max
...
Tests for max cache/core stats
2020-05-20 23:00:56 +02:00
Robert Baldyga
1e25420f86
Merge pull request #404 from rafalste/copyright_update
...
Update copyright statements
2020-05-19 11:25:11 +02:00
Robert Baldyga
c7f3e52411
Merge pull request #309 from Deixx/ioclass-stats
...
IO class stats - refactor and test for statistics sections
2020-05-18 17:55:24 +02:00
Michal Mielewczyk
84f2dc3c07
CLI test for purge commands
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-05-12 11:32:01 -04:00
Rafal Stefanowski
58b3135082
Tests for max cache/core stats
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-05-06 11:22:07 +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
f9e28c9d05
Add test for IO class statistics sections
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-05-04 13:04:22 +02:00
Daniel Madej
8d0650ecb3
Refactor/update existing tests in test_ioclass_stats.py
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-04-29 11:55:08 +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
1cf56d9d6c
Tests directories cleanup
2020-04-27 15:24:01 +02:00
Jan Musial
650dbf5d31
Add test for ALRU with activity threshold set to 0
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2020-03-11 11:27:48 +01:00
Michal Rakowski
dfab893c3d
Merge pull request #319 from rafalste/tests_display_stats
...
Add tests for proper statistics display
2020-02-18 12:47:49 +01:00
Michał Mielewczyk
6e1224191f
Merge pull request #260 from Ostrokrzew/many2one
...
Add FI many to one tests
2020-02-18 09:00:05 +01:00
Katarzyna Łapińska
da493b37bb
Merge pull request #331 from Ostrokrzew/load_init_odlozony
...
Load cache tests' update
2020-02-18 07:42:57 +01:00
Katarzyna Łapińska
49edc8a8cd
Merge pull request #315 from Ostrokrzew/interrupt
...
Interruption tests
2020-02-18 07:24:43 +01:00
Rafal Stefanowski
d9a2b017c8
Add tests for proper statistics display
...
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2020-02-17 17:53:09 +01:00
Slawomir Jankowski
17528aefdd
Add interrupt cache stop interrupt test
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-02-17 15:36:31 +01:00
Slawomir Jankowski
657023a79c
Add two tests for interrupting cache mode switch
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-02-17 15:36:31 +01:00
Slawomir Jankowski
5f21f4d580
Add interrupt removing core test
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-02-17 15:36:31 +01:00
Slawomir Jankowski
90c27e488c
Add Interrupt cache flushing test
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-02-17 15:36:31 +01:00
Slawomir Jankowski
660a99ae5c
Add Interrupt core flushing test
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-02-17 15:36:31 +01:00
Michał Mielewczyk
ee9855cad3
Merge pull request #335 from Ostrokrzew/multi
...
Remove core from multilevel cache test
2020-02-17 15:22:57 +01:00
Michal Mielewczyk
b28e2614c0
Test for acp wake up time param.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-02-17 07:28:04 -05:00
Michal Mielewczyk
230667a219
Test for acp flush max buffers param.
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2020-02-17 03:52:17 -05:00
Slawomir Jankowski
8c7f0dcd32
One of many cores in cache fails
...
OpenCAS continue to work after one of many cores fails
1. Start cache.
2. Add core1 to previously created cache.
3. Add core2 to previously created cache.
4. Fill cache with pages from core1.
5. Fail core1.
6. Check if core2 is able to use cache.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-02-17 09:44:55 +01:00
Slawomir Jankowski
4717b942d9
Dynamic allocation of space in cache
...
OpenCAS continues to operate after one of many cores is released:
1. "Start cache",
2. "Add core1 to previously created cache",
3. "Add core2 to previously created cache",
4. "Fill cache with pages from core1",
5. "Check if core2 is able to use cache"
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-02-14 14:50:29 +01:00
Slawomir Jankowski
9ad35e8ae9
Remove one of multiple cores from cache
...
OpenCAS continues to operate after one of many cores is removed:
1. "Start cache",
2. "Add core1 to previously created cache",
3. "Add core2 to previously created cache",
4. "Fill cache with pages from core1",
5. "Remove core1",
6. "Check if core2 is able to use cache"
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-02-14 14:50:29 +01:00
Slawomir Jankowski
8991153bd8
Remove core from multilevel cache
...
OpenCAS not allow remove the core on 1 level cache when is used by level 2:
/1/ "Create multilevel intelcas device",
/2/ "Try to remove intelcas device on level 1",
/3/ "Remove intelcas device"
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-02-13 15:54:32 +01:00
Sławomir Jankowski
ac05dadfcd
Merge pull request #320 from micrakow/kedr_io
...
functional tests: add kedr with filesystem test
2020-02-13 15:34:28 +01:00
Michał Mielewczyk
1c45ae5b3c
Merge pull request #316 from katlapinka/acp-functional
...
Functional test for acp cleaning policy
2020-02-13 14:42:19 +01:00
Michal Rakowski
77124296ee
functional tests: add kedr with filesystem test
...
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
2020-02-13 14:04:37 +01:00
Michal Rakowski
30b06e07a4
Merge pull request #314 from Deixx/align
...
Size alignment update in tests
2020-02-13 13:50:34 +01:00
Katarzyna Lapinska
cc39256dac
Functional test for acp cleaning policy
2020-02-13 13:50:18 +01:00
Slawomir Jankowski
f1749526fb
Stop cache '--no-data-flush' without fs on core
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-02-12 13:06:36 +01:00
Slawomir Jankowski
232b6ef21c
Stop cache '--no-data-flush' with fs on core
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-02-12 13:06:19 +01:00
Slawomir Jankowski
a5a8c19ea4
Update test due to rename 'create_test_file' method
...
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-02-12 13:05:31 +01:00
Slawomir Jankowski
2a0ddffcfc
Refactor code
...
Change `core_number` to more descriptive `cores_amount`.
Parallelization of FIO for many cores.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-02-12 08:46:26 +01:00
Katarzyna Lapinska
f11a8a5ae3
Rename cache mode trait lazy flush to lazy writes
2020-02-10 11:49:30 +01:00
Daniel Madej
bfddd0dd60
Size alignment update in tests
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2020-02-07 09:49:51 +01:00
Katarzyna Łapińska
5b0413b3fd
Merge pull request #266 from Ostrokrzew/volumes
...
Add volume test
2020-02-06 11:41:08 +01:00
Katarzyna Łapińska
8fb755fa10
Merge pull request #259 from Ostrokrzew/twice_core
...
Add FI test: try add twice the same device as core
2020-02-06 11:09:29 +01:00
Katarzyna Lapinska
4e573a746a
Add write fetch tests
2020-02-03 14:38:19 +01:00
Slawomir_Jankowski
5d78207f27
Update FI test: try add twice the same device as core
...
Check that OpenCAS does not accepts twice the same device as core.
Update code in file.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-01-31 15:02:42 +01:00
Ostrokrzew
3c26bb05d7
Add volume test
...
Test for preserving partitions from core device.
Test for preserving partitions at core device, which were made on exported object,
after stopping cache.
Also added two fields to 'Core' class which allows it to use 'create_partitions' function.
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
2020-01-31 11:41:57 +01:00