diff options
author | Vratko Polak <vrpolak@cisco.com> | 2021-06-15 13:06:32 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2021-06-16 13:28:50 +0000 |
commit | 46f0194afb8d4c8191b3c412332e3fbb92528c19 (patch) | |
tree | c70b19a75b5933b4c3ad9b321f997be3fd14d25a /resources | |
parent | e75e2f7a9b2fa73718f8a4a5a31fbe56b234f820 (diff) |
ip6lisp: Do not fail on string overhead value
+ Set overhead in those suites to numeric values.
+ Change the library to tolerate string representations anyway.
Change-Id: Ic6215840f7797801c994a38db5637999eb85a034
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/libraries/robot/performance/performance_vars.robot | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/libraries/robot/performance/performance_vars.robot b/resources/libraries/robot/performance/performance_vars.robot index 9fff489279..4f2cc50fa3 100644 --- a/resources/libraries/robot/performance/performance_vars.robot +++ b/resources/libraries/robot/performance/performance_vars.robot @@ -514,7 +514,8 @@ | | ... | Set Variable | ${353.83333} | | ... | ELSE | | ... | Convert To Number | ${frame_size} -| | ${avg_frame_size} = | Evaluate | $bare_avg_frame_size + $max_overhead +| | # Do not use $max_overhead (without braces), that does not tolerate string. +| | ${avg_frame_size} = | Evaluate | ${bare_avg_frame_size} + ${max_overhead} | | Set Test Variable | \${avg_frame_size} | | ${bare_max_frame_size} = | Run Keyword If | '${frame_size}' == 'IMIX_v4_1' | | ... | Set Variable | ${1518} |