Merge pull request #305 from Deixx/core-fs
Test API: Filesystem on core + set sequential cut-off fix
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
from api.cas.casadm_parser import *
|
||||
from api.cas.cli import *
|
||||
from api.cas.statistics import CoreStats, CoreIoClassStats
|
||||
from test_tools import fs_utils
|
||||
from test_tools import fs_utils, disk_utils
|
||||
from test_utils.os_utils import *
|
||||
from test_utils.os_utils import wait
|
||||
|
||||
@@ -51,6 +51,10 @@ class Core(Device):
|
||||
"status": split_line[3],
|
||||
"exp_obj": split_line[5]}
|
||||
|
||||
def create_filesystem(self, fs_type: disk_utils.Filesystem, force=True, blocksize=None):
|
||||
super().create_filesystem(fs_type, force, blocksize)
|
||||
self.core_device.filesystem = self.filesystem
|
||||
|
||||
def get_io_class_statistics(self,
|
||||
io_class_id: int,
|
||||
stat_filter: List[StatsFilter] = None,
|
||||
|
Reference in New Issue
Block a user