From 46f0194afb8d4c8191b3c412332e3fbb92528c19 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Tue, 15 Jun 2021 13:06:32 +0200 Subject: 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 --- resources/libraries/robot/performance/performance_vars.robot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'resources/libraries/robot/performance/performance_vars.robot') 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} -- cgit 1.2.3-korg