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:30 +0000 |
commit | a459fcb8c9931082078db1dad69697a4da626b0c (patch) | |
tree | 04a2f1b0613b024b3592ed1ea7eab5de854789dd /resources | |
parent | 9a25041ad1bf67e658ac4e27870eb3145dc85bf0 (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>
(cherry picked from commit 6ac704e7388409c6aa719e50f83d0e08ebd671a0)
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 3f3f41e650..2828922bb4 100644 --- a/resources/libraries/robot/performance/performance_utils.robot +++ b/resources/libraries/robot/performance/performance_utils.robot @@ -164,6 +164,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 |