diff options
author | Vratko Polak <vrpolak@cisco.com> | 2020-01-24 16:16:10 +0100 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2020-01-28 10:44:00 +0000 |
commit | 6ac704e7388409c6aa719e50f83d0e08ebd671a0 (patch) | |
tree | cc0b02569ceac6dd591a04786dc121730ae59380 /resources | |
parent | ceaa2959217752716496b6257595d12cbcb0c657 (diff) |
Check interval validity in reconf tests
Without this, if the search part returns min_rate,
then reconf part reports few seconds with a small loss count.
But min_rate means there is a bug or misconfiguration,
so the tests should fail, instead of returning misleading results.
Change-Id: I566608b40ae11d6aaa3fe022a32da97901e1999c
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/libraries/robot/performance/performance_utils.robot | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/libraries/robot/performance/performance_utils.robot b/resources/libraries/robot/performance/performance_utils.robot index 68238668a2..a4fd2fa161 100644 --- a/resources/libraries/robot/performance/performance_utils.robot +++ b/resources/libraries/robot/performance/performance_utils.robot @@ -168,6 +168,8 @@ | | ... | ${final_trial_duration} | ${initial_trial_duration} | | ... | ${number_of_intermediate_phases} | timeout=${timeout} | | ... | 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} | Find critical load using PLRsearch |