aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2016-08-26 09:48:22 +0100
committerPeter Mikus <pmikus@cisco.com>2016-09-08 06:24:35 +0000
commit13809a4ee66ec5e9c92ac3600805251791dfcd2b (patch)
tree58730764b757b20b0f572126b07e785d3097a8bb /resources/libraries
parent3bfb4d5eb4a0d15bc964bf11cec870ee982ae3b4 (diff)
CSIT-390 Replace rate calculation I
- Replace static max rate variables by calculation of max rate based on nic limits Change-Id: I0f7f7e46c6f46f87dfa5f34b9b9fdb4610513081 Signed-off-by: pmikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries')
-rw-r--r--resources/libraries/robot/performance.robot1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/libraries/robot/performance.robot b/resources/libraries/robot/performance.robot
index 5619d003a1..0aefdef1d7 100644
--- a/resources/libraries/robot/performance.robot
+++ b/resources/libraries/robot/performance.robot
@@ -208,6 +208,7 @@
| | ...
| | ... | \| Calculate pps \| 10000000000 | 64
| | [Arguments] | ${bps} | ${framesize}
+| | ${framesize}= | Get Frame Size | ${framesize}
| | ${ret}= | Evaluate | (${bps}/((${framesize}+20)*8)).__trunc__()
| | Return From Keyword | ${ret}