From 401c24914d84058d06ef9b7a4f893662dfeb0dcb Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Wed, 29 Jan 2020 15:28:16 +0100 Subject: 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 --- resources/libraries/robot/performance/performance_utils.robot | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 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] -- cgit 1.2.3-korg