diff options
author | Vratko Polak <vrpolak@cisco.com> | 2021-09-14 15:00:00 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2021-09-17 08:47:00 +0000 |
commit | 8aac11bc7d52bb7d14de28dde1843fc910c0a3f8 (patch) | |
tree | b07287f004a4fac3404ceea6c6292e7f514dfb80 | |
parent | a8e9042828ce76a497941249a7e4d740933a56f9 (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>
-rw-r--r-- | resources/libraries/robot/performance/performance_utils.robot | 1 |
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 |