test: Extend seq cutoff test to validate promotion count
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
parent
ff4dca4622
commit
d220aad77b
@ -287,6 +287,11 @@ def check_seqcutoff_parameters(core, seqcutoff_params):
|
|||||||
f"Policy is {current_seqcutoff_params.policy}, "
|
f"Policy is {current_seqcutoff_params.policy}, "
|
||||||
f"should be {seqcutoff_params.policy}\n"
|
f"should be {seqcutoff_params.policy}\n"
|
||||||
)
|
)
|
||||||
|
if current_seqcutoff_params.promotion_count != seqcutoff_params.promotion_count:
|
||||||
|
failed_params += (
|
||||||
|
f"Promotion count is {current_seqcutoff_params.promotion_count}, "
|
||||||
|
f"should be {seqcutoff_params.promotion_count}\n"
|
||||||
|
)
|
||||||
if failed_params:
|
if failed_params:
|
||||||
TestRun.LOGGER.error(
|
TestRun.LOGGER.error(
|
||||||
f"Sequential cut-off parameters are not correct "
|
f"Sequential cut-off parameters are not correct "
|
||||||
|
Loading…
Reference in New Issue
Block a user