aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/test_templates/closedloop_test_template.robot
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2024-11-05 18:22:30 +0100
committerAndreas Geissler <andreas-geissler@telekom.de>2024-11-08 11:42:55 +0100
commit69fd079507e6a4500c2117b7dad31fa81b7e1299 (patch)
treea55826ede16537d8087c122ec38b00028aa18479 /robot/resources/test_templates/closedloop_test_template.robot
parentb3cf372e63b153b19ec685782300ec2bd07875ac (diff)
Update deprecated :FOR loops
Update SDNC APIs Issue-ID: OOM-3301 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I515e503abef90f3aaa3733d7518d6e738173100e
Diffstat (limited to 'robot/resources/test_templates/closedloop_test_template.robot')
-rw-r--r--robot/resources/test_templates/closedloop_test_template.robot30
1 files changed, 16 insertions, 14 deletions
diff --git a/robot/resources/test_templates/closedloop_test_template.robot b/robot/resources/test_templates/closedloop_test_template.robot
index 3619f4ca..4c883c10 100644
--- a/robot/resources/test_templates/closedloop_test_template.robot
+++ b/robot/resources/test_templates/closedloop_test_template.robot
@@ -199,26 +199,28 @@ VFWCL High Test
[Arguments] ${pkg_host}
Enable Streams V2 ${pkg_host} 10
Log Set number of streams to 10
- :FOR ${i} IN RANGE 12
- \ Sleep 15s
- \ ${resp}= Get List Of Enabled Streams V2 ${pkg_host}
- \ ${stream_count}= Set Variable ${resp['stream-count']['streams']['active-streams']}
- \ Log Number of streams: ${stream_count}
- \ Exit For Loop If '${stream_count}'=='5'
- Should Be Equal As Integers ${stream_count} 5
+ FOR ${i} IN RANGE 12
+ Sleep 15s
+ ${resp}= Get List Of Enabled Streams V2 ${pkg_host}
+ ${stream_count}= Set Variable ${resp['stream-count']['streams']['active-streams']}
+ Log Number of streams: ${stream_count}
+ Exit For Loop If '${stream_count}'=='5'
+ Should Be Equal As Integers ${stream_count} 5
+ END
VFWCL Low Test
[Documentation] Test Control Loop for Low Traffic
[Arguments] ${pkg_host}
Enable Streams V2 ${pkg_host} 1
Log Set number of streams to 1
- :FOR ${i} IN RANGE 12
- \ Sleep 15s
- \ ${resp}= Get List Of Enabled Streams V2 ${pkg_host}
- \ ${stream_count}= Set Variable ${resp['stream-count']['streams']['active-streams']}
- \ Log Number of streams: ${stream_count}
- \ Exit For Loop If '${stream_count}'=='5'
- Should Be Equal As Integers ${stream_count} 5
+ FOR ${i} IN RANGE 12
+ Sleep 15s
+ ${resp}= Get List Of Enabled Streams V2 ${pkg_host}
+ ${stream_count}= Set Variable ${resp['stream-count']['streams']['active-streams']}
+ Log Number of streams: ${stream_count}
+ Exit For Loop If '${stream_count}'=='5'
+ Should Be Equal As Integers ${stream_count} 5
+ END
VFWCL Set To Medium
[Documentation] Set flows to Medium to turn off control loop