aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2021-09-14 15:00:00 +0200
committerPeter Mikus <pmikus@cisco.com>2021-09-17 08:47:00 +0000
commit8aac11bc7d52bb7d14de28dde1843fc910c0a3f8 (patch)
treeb07287f004a4fac3404ceea6c6292e7f514dfb80 /resources/libraries/robot
parenta8e9042828ce76a497941249a7e4d740933a56f9 (diff)
Performance keywords: Use matching runtime rate
Previously, runtime rate was not modified, so max rate was always used, even in ndrpdr with two stats trials. Now, each call to "Send traffic at specified rate" keyword sets the given rate as runtime rate. Change-Id: I3eb41eeadd6b64d23056c67c23a25f9565bb0424 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/robot')
-rw-r--r--resources/libraries/robot/performance/performance_utils.robot1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/libraries/robot/performance/performance_utils.robot b/resources/libraries/robot/performance/performance_utils.robot
index c6c98fbf8a..33bd31f758 100644
--- a/resources/libraries/robot/performance/performance_utils.robot
+++ b/resources/libraries/robot/performance/performance_utils.robot
@@ -388,6 +388,7 @@
| | ${transaction_scale} = | Get Transaction Scale
| | ${transaction_type} = | Get Transaction Type
| | Set Test Variable | \${rate_for_teardown} | ${rate}
+| | Set Test Variable | \${runtime_rate} | ${rate}
| | FOR | ${action} | IN | @{stat_runtime}
| | | Run Keyword | Additional Statistics Action For ${action}
| | END