diff options
author | Vratko Polak <vrpolak@cisco.com> | 2020-01-27 13:26:27 +0100 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2020-01-27 13:08:35 +0000 |
commit | f7699715f37ee6846bceb1fa7baf51366a683737 (patch) | |
tree | 38f5f17f0264ce02861e16539e2010c30a217a86 /resources/libraries/robot/performance | |
parent | 03ce6e3c1a942b040a5a35008d0d382de39c473f (diff) |
Restore PDR stat run for NDRPDR
Before [0], the NDRPDR test ended with two measurements
that perform runtime stats collection, each 2 seconds long.
[0] then decreased that duration to one second,
and removed the PDR measurement.
This change re-adds the PDR measurement,
while keeping the duration at 1 second.
[0] https://gerrit.fd.io/r/c/csit/+/24427
Change-Id: I76828f11863a9e278cdd0cf60f2792d5b614ce43
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/robot/performance')
-rw-r--r-- | resources/libraries/robot/performance/performance_utils.robot | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/resources/libraries/robot/performance/performance_utils.robot b/resources/libraries/robot/performance/performance_utils.robot index e4454739c0..1ed7a148e5 100644 --- a/resources/libraries/robot/performance/performance_utils.robot +++ b/resources/libraries/robot/performance/performance_utils.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -111,10 +111,14 @@ | | Measure and show latency at specified rate | Latency at 90% PDR: | | ... | ${latency_duration} | ${rate}pps | ${framesize} | | ... | ${traffic_profile} | ${traffic_directions} -| | # Finally, a trial with runtime and other stats. +| | # Finally, trials with runtime and other stats. +| | # We expect NDR and PDR to have different-looking stats. | | Send traffic at specified rate | | ... | ${1.0} | ${ndr_per_stream}pps | ${framesize} | ${traffic_profile} | | ... | traffic_directions=${traffic_directions} +| | Send traffic at specified rate +| | ... | ${1.0} | ${pdr_per_stream}pps | ${framesize} | ${traffic_profile} +| | ... | traffic_directions=${traffic_directions} | Find Throughput Using MLRsearch | | [Documentation] |