diff options
author | Vratko Polak <vrpolak@cisco.com> | 2022-04-22 13:29:06 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2022-06-20 14:09:21 +0000 |
commit | a8f2fe78ae955d01e5738e0fbb3496d4b0833f99 (patch) | |
tree | 2eb372fa14e60a9603c51ee65816a3c7ff79116b /resources | |
parent | 39d7a8edcc62e8a96ce0e06e1e3fa64cce345d16 (diff) |
fix(uti): export correct units in cps ndrpdr
Compute Bandwidth keyword returns value in Gbps,
as that is convenient for test messages.
Export Search Bound keyword expects value in bps,
as that is convenient for JSON export.
While the conversion was present in
Display Single PPS Bound keyword, it was missing from
Display Single CPS Bound keyword. Now added.
Change-Id: I5bb5934beeecfa2ee1b77dd1b1bfc788d034c845
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/libraries/robot/performance/performance_display.robot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/robot/performance/performance_display.robot b/resources/libraries/robot/performance/performance_display.robot index aaf5be8190..1313788d5e 100644 --- a/resources/libraries/robot/performance/performance_display.robot +++ b/resources/libraries/robot/performance/performance_display.robot @@ -224,7 +224,7 @@ | | | | Set Test Message | ${\n}${text}: ${tps} CPS | append=yes | | ${bandwidth} | ${pps} = | Compute Bandwidth | ${tps} -| | Export Search Bound | ${text} | ${tps} | cps | ${bandwidth} +| | Export Search Bound | ${text} | ${tps} | cps | ${bandwidth * 1e9} | | Return From Keyword If | not """${latency}""" | | Set Test Message | ${\n}LATENCY [min/avg/max/hdrh] per stream: ${latency} | | ... | append=yes |