From 11abbc5f27ec2d2036a36e0e427afb9e2d5ffe59 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Thu, 19 Jul 2018 12:38:53 +0200 Subject: CSIT-1097: Edit dpdk suites for new rate and jumbo Change-Id: If2fceb47639dc1add32184271c1e911f7920a51a Signed-off-by: Vratko Polak --- resources/libraries/robot/performance/performance_utils.robot | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'resources/libraries/robot') diff --git a/resources/libraries/robot/performance/performance_utils.robot b/resources/libraries/robot/performance/performance_utils.robot index 4cabe5660e..1935337445 100644 --- a/resources/libraries/robot/performance/performance_utils.robot +++ b/resources/libraries/robot/performance/performance_utils.robot @@ -575,13 +575,16 @@ | | ... | | [Arguments] | ${interval} | ${packet_loss_ratio}=${0.0} | | ... -| | ${lower_bound_lf} = | Set Variable | ${interval.measured_low.loss_fraction} +| | ${lower_bound} = | Set Variable | ${interval.measured_low} +| | ${lower_bound_lf} = | Set Variable | ${lower_bound.loss_fraction} | | Return From Keyword If | ${lower_bound_lf} <= ${packet_loss_ratio} | | ${message}= | Catenate | SEPARATOR=${SPACE} | | ... | Minimal rate loss fraction ${lower_bound_lf} | | ... | does not reach target ${packet_loss_ratio}. +| | ${message_zero} = | Set Variable | Zero packets forwarded! +| | ${message_other} = | Set Variable | ${lower_bound.loss_count} packets lost. | | ${message} = | Set Variable If | ${lower_bound_lf} >= 1.0 -| | ... | ${message}${\n}Zero packets forwarded! | ${message} +| | ... | ${message}${\n}${message_zero} | ${message}${\n}${message_other} | | Fail | ${message} | Perform additional measurements based on NDRPDR result -- cgit 1.2.3-korg