test api: update default ioclass allocancy
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
parent
393fd532cf
commit
8350ac9e88
@ -149,9 +149,11 @@ def create_ioclass_config(
|
||||
"Failed to create ioclass config file. "
|
||||
+ f"stdout: {output.stdout} \n stderr :{output.stderr}"
|
||||
)
|
||||
|
||||
if add_default_rule:
|
||||
output = TestRun.executor.run(
|
||||
f'echo "0,unclassified,22,1" >> {ioclass_config_path}'
|
||||
f'echo "{DEFAULT_IO_CLASS_ID},{DEFAULT_IO_CLASS_RULE},{DEFAULT_IO_CLASS_PRIORITY},"'
|
||||
+ f'"1.00" >> {ioclass_config_path}'
|
||||
)
|
||||
if output.exit_code != 0:
|
||||
raise Exception(
|
||||
|
Loading…
Reference in New Issue
Block a user