aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/performance
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-05-07 14:42:17 +0200
committerPeter Mikus <pmikus@cisco.com>2018-05-10 05:59:02 +0000
commit6e9d38fbad8198f8647e3e71d12b5859490c21f2 (patch)
tree4007d59f81c77e56669b2288c36fc0b02c93e8f4 /resources/libraries/robot/performance
parent7577a3ff000ba4c61394bc49754a257fbb3d31ef (diff)
CSIT-1071 Add traffic evaluation criteria to MRR
- Fail the testcase if there is no traffic pass. Change-Id: I162187073aafa286793ce488fda9fd065bb55213 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/robot/performance')
-rw-r--r--resources/libraries/robot/performance/performance_utils.robot4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/libraries/robot/performance/performance_utils.robot b/resources/libraries/robot/performance/performance_utils.robot
index 1de57b9596..771e7486cb 100644
--- a/resources/libraries/robot/performance/performance_utils.robot
+++ b/resources/libraries/robot/performance/performance_utils.robot
@@ -694,14 +694,16 @@
| | ...
| | ... | *Example:*
| | ...
-| | ... | \| Traffic should pass with no loss \| 10 \| 4.0mpps \| 64 \
+| | ... | \| Traffic should pass with maximum rate \| 10 \| 4.0mpps \| 64 \
| | ... | \| 3-node-IPv4 \|
| | ...
| | [Arguments] | ${duration} | ${rate} | ${framesize} | ${topology_type}
+| | ... | ${fail_no_traffic}=${True}
| | ...
| | ${results}= | Send traffic at specified rate | ${duration} | ${rate}
| | ... | ${framesize} | ${topology_type}
| | Display raw results | ${framesize} | ${results}
+| | Run Keyword If | ${fail_no_traffic} | Fail if no traffic forwarded
| Send traffic at specified rate
| | [Documentation]