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>
This commit is contained in:
Ostrokrzew
2020-01-14 10:39:57 +01:00
committed by Slawomir Jankowski
parent 5c77bbd00b
commit 3c26bb05d7
2 changed files with 175 additions and 0 deletions

View File

@@ -33,6 +33,8 @@ class Core(Device):
if core_info["exp_obj"] != "-":
Device.__init__(self, core_info["exp_obj"])
self.cache_id = cache_id
self.partitions = []
self.block_size = None
def __get_core_info(self):
output = TestRun.executor.run(