Update TF and functional tests API
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com> Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
committed by
Robert Baldyga
parent
ecbd4fbe30
commit
17f440de10
@@ -40,10 +40,10 @@ def test_data_integrity_12h(cache_mode):
|
||||
cache, core = prepare(cache_mode)
|
||||
|
||||
with TestRun.step("Fill cache"):
|
||||
fill_cache(core.system_path)
|
||||
fill_cache(core.path)
|
||||
|
||||
with TestRun.step("Run test workloads with verification"):
|
||||
run_workload(core.system_path)
|
||||
run_workload(core.path)
|
||||
|
||||
|
||||
def prepare(cache_mode):
|
||||
|
||||
@@ -71,12 +71,12 @@ def test_data_integrity_5d_dss(filesystems):
|
||||
|
||||
with TestRun.step("Create filesystems and mount cores"):
|
||||
for i, core in enumerate(cores):
|
||||
mount_point = core.system_path.replace('/dev/', '/mnt/')
|
||||
mount_point = core.path.replace('/dev/', '/mnt/')
|
||||
if not fs_utils.check_if_directory_exists(mount_point):
|
||||
fs_utils.create_directory(mount_point)
|
||||
TestRun.LOGGER.info(f"Create filesystem {filesystems[i].name} on {core.system_path}")
|
||||
TestRun.LOGGER.info(f"Create filesystem {filesystems[i].name} on {core.path}")
|
||||
core.create_filesystem(filesystems[i])
|
||||
TestRun.LOGGER.info(f"Mount filesystem {filesystems[i].name} on {core.system_path} to "
|
||||
TestRun.LOGGER.info(f"Mount filesystem {filesystems[i].name} on {core.path} to "
|
||||
f"{mount_point}")
|
||||
core.mount(mount_point)
|
||||
sync()
|
||||
|
||||
Reference in New Issue
Block a user