Wait an extra minute for vfwclosedloop detection 54/72354/1
authorGary Wu <gary.i.wu@huawei.com>
Sat, 10 Nov 2018 04:10:10 +0000 (20:10 -0800)
committerGary Wu <gary.i.wu@huawei.com>
Sat, 10 Nov 2018 04:10:10 +0000 (20:10 -0800)
Change-Id: If6904b71f2b70677f35a71797443b375ebe96836
Issue-ID: INT-715
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
robot/resources/test_templates/closedloop_test_template.robot

index fe33e74..5853abf 100644 (file)
@@ -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