aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-11-09 20:10:10 -0800
committerGary Wu <gary.i.wu@huawei.com>2018-11-09 20:10:10 -0800
commit9eb062dfdbe1d91652a313d7b80ce22c7b5885ae (patch)
tree114420ea3eaafd944504ec3721969ecee90ce6ca
parentfe4a8260e4e28c6a15c4e76b2a7572278a36699b (diff)
Wait an extra minute for vfwclosedloop detection
Change-Id: If6904b71f2b70677f35a71797443b375ebe96836 Issue-ID: INT-715 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
-rw-r--r--robot/resources/test_templates/closedloop_test_template.robot14
1 files changed, 8 insertions, 6 deletions
diff --git a/robot/resources/test_templates/closedloop_test_template.robot b/robot/resources/test_templates/closedloop_test_template.robot
index fe33e749..5853abf5 100644
--- a/robot/resources/test_templates/closedloop_test_template.robot
+++ b/robot/resources/test_templates/closedloop_test_template.robot
@@ -201,25 +201,27 @@ VFWCL High Test
[Documentation] Test Control Loop for High Traffic
[Arguments] ${pkg_host}
Enable Streams ${pkg_host} 10
- :FOR ${i} IN RANGE 8
+ Log To Console Set number of streams to 10
+ :FOR ${i} IN RANGE 12
\ Sleep 15s
\ ${resp}= Get List Of Enabled Streams ${pkg_host}
\ ${stream_count}= Evaluate len(${resp['sample-plugin']['pg-streams']['pg-stream']})
- \ Log To Console Number of steam: ${stream_count}
- \ Exit For Loop If '${stream_count}'=='5'
+ \ Log To Console Number of streams: ${stream_count}
+ \ Exit For Loop If '${stream_count}'=='5'
Should Be Equal As Integers ${stream_count} 5
VFWCL Low Test
[Documentation] Test Control Loop for Low Traffic
[Arguments] ${pkg_host}
Enable Streams ${pkg_host} 1
+ Log To Console Set number of streams to 1
Get List Of Enabled Streams ${pkg_host}
- :FOR ${i} IN RANGE 8
+ :FOR ${i} IN RANGE 12
\ Sleep 15s
\ ${resp}= Get List Of Enabled Streams ${pkg_host}
\ ${stream_count}= Evaluate len(${resp['sample-plugin']['pg-streams']['pg-stream']})
- \ Log To Console Number of steam: ${stream_count}
- \ Exit For Loop If '${stream_count}'=='5'
+ \ Log To Console Number of streams: ${stream_count}
+ \ Exit For Loop If '${stream_count}'=='5'
Should Be Equal As Integers ${stream_count} 5