diff options
author | Vratko Polak <vrpolak@cisco.com> | 2020-01-29 15:28:16 +0100 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2020-01-29 17:14:36 +0000 |
commit | deae6f05b363d39bf7f354bb6b0b02489ad5859d (patch) | |
tree | 861759cb947ae393fa8f130801f0e368786cda1d | |
parent | 5dab49fed4833449303b730da780110a50f87119 (diff) |
Display target_tr for ndr/pdr results
Small differences in Tx packet counts can cause
the previous way (which used transmit_rate,
computed from packets sent and nominal duration)
to report lower bounds as higher than upper bounds.
Also, reconf tests need the target (not actual) rate.
Change-Id: If5222dabd9762b8d9c2e22d875c12ad355bc6838
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
(cherry picked from commit 401c24914d84058d06ef9b7a4f893662dfeb0dcb)
-rw-r--r-- | resources/libraries/robot/performance/performance_utils.robot | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/libraries/robot/performance/performance_utils.robot b/resources/libraries/robot/performance/performance_utils.robot index d6158a6816..52ddc9193e 100644 --- a/resources/libraries/robot/performance/performance_utils.robot +++ b/resources/libraries/robot/performance/performance_utils.robot @@ -161,7 +161,7 @@ | | ... | doublings=${doublings} | traffic_directions=${traffic_directions} | | Check NDRPDR interval validity | ${result.pdr_interval} | | ... | ${packet_loss_ratio} -| | Return From Keyword | ${result.pdr_interval.measured_low.transmit_rate} +| | Return From Keyword | ${result.pdr_interval.measured_low.target_tr} | Find critical load using PLRsearch | | [Documentation] @@ -278,15 +278,15 @@ | | | | ${frame_size} = | Get Average Frame Size | ${frame_size} | | Display single bound | NDR_LOWER -| | ... | ${result.ndr_interval.measured_low.transmit_rate} | ${frame_size} +| | ... | ${result.ndr_interval.measured_low.target_tr} | ${frame_size} | | ... | ${result.ndr_interval.measured_low.latency} | | Display single bound | NDR_UPPER -| | ... | ${result.ndr_interval.measured_high.transmit_rate} | ${frame_size} +| | ... | ${result.ndr_interval.measured_high.target_tr} | ${frame_size} | | Display single bound | PDR_LOWER -| | ... | ${result.pdr_interval.measured_low.transmit_rate} | ${frame_size} +| | ... | ${result.pdr_interval.measured_low.target_tr} | ${frame_size} | | ... | ${result.pdr_interval.measured_low.latency} | | Display single bound | PDR_UPPER -| | ... | ${result.pdr_interval.measured_high.transmit_rate} | ${frame_size} +| | ... | ${result.pdr_interval.measured_high.target_tr} | ${frame_size} | Display result of soak search | | [Documentation] |