From 4640b7da58f69f5b5aac69698656ae334735080c Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Fri, 12 Aug 2022 16:25:50 +0200 Subject: fix(robot): replace Run Keyword Unless Use Run Keyword If, with the condition negated. This silences the deprecation warning seen since Robot version bump. Change-Id: I9a88ff551994df3e129d71327f08207133a958a6 Signed-off-by: Vratko Polak --- resources/libraries/robot/performance/performance_utils.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/libraries/robot/performance') diff --git a/resources/libraries/robot/performance/performance_utils.robot b/resources/libraries/robot/performance/performance_utils.robot index c90fc7434d..bdac178125 100644 --- a/resources/libraries/robot/performance/performance_utils.robot +++ b/resources/libraries/robot/performance/performance_utils.robot @@ -330,7 +330,7 @@ | | ... | \| Send ramp-up traffic \| | | | | ${ramp_up_rate} = | Get Ramp Up Rate -| | Run Keyword Unless | ${ramp_up_rate} > 0.0 | Fail | Ramp up rate missing! +| | Run Keyword If | ${ramp_up_rate} <= 0.0 | Fail | Ramp up rate missing! | | ${ramp_up_duration} = | Get Ramp Up Duration | | ${ppta} = | Get Packets Per Transaction Aggregated | | ${traffic_directions} = | Get Traffic Directions -- cgit 1.2.3-korg