diff options
author | 2018-07-19 12:38:53 +0200 | |
---|---|---|
committer | 2018-07-26 08:08:26 +0000 | |
commit | 7c82f5ea23259377e448c114190e5e7472a6836f (patch) | |
tree | 4087ec5b6e4d68b6569df2e6daec7842f3fa84e4 /resources | |
parent | a33da4692e6b7c132bbf84349cd92bff608ef37d (diff) |
CSIT-1097: Edit dpdk suites for new rate and jumbo
Change-Id: If2fceb47639dc1add32184271c1e911f7920a51a
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
(cherry picked from commit 11abbc5f27ec2d2036a36e0e427afb9e2d5ffe59)
Diffstat (limited to 'resources')
-rw-r--r-- | resources/libraries/robot/performance/performance_utils.robot | 7 |
1 files changed, 5 insertions, 2 deletions
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 |