aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2020-01-27 13:26:27 +0100
committerVratko Polak <vrpolak@cisco.com>2020-01-29 16:55:16 +0000
commitf6bc204f41c3f43aace661d147da6925aeb47bb2 (patch)
treefe5ea6d0a1eb7f2068caa1c917a83f3f69a38625 /resources
parente14811302d567cb3faaf234edcd13aedaf01fe79 (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> (cherry picked from commit f7699715f37ee6846bceb1fa7baf51366a683737)
Diffstat (limited to 'resources')
-rw-r--r--resources/libraries/robot/performance/performance_utils.robot8
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 2828922bb4..a4fd2fa161 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:
@@ -113,10 +113,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]