tests: improve ioclass tests helper
Use predefined consts instead of raw values to create default ioclass Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
parent
7ef1e1c197
commit
741db6b7e1
@ -53,10 +53,10 @@ def prepare(
|
||||
# To make test more precise all workload except of tested ioclass should be
|
||||
# put in pass-through mode
|
||||
ioclass_config.add_ioclass(
|
||||
ioclass_id=0,
|
||||
eviction_priority=22,
|
||||
ioclass_id=ioclass_config.DEFAULT_IO_CLASS_ID,
|
||||
eviction_priority=ioclass_config.DEFAULT_IO_CLASS_PRIORITY,
|
||||
allocation="0.00",
|
||||
rule="unclassified",
|
||||
rule=ioclass_config.DEFAULT_IO_CLASS_RULE,
|
||||
ioclass_config_path=ioclass_config_path,
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user