From: Gary Wu Date: Sat, 10 Nov 2018 04:10:10 +0000 (-0800) Subject: Wait an extra minute for vfwclosedloop detection X-Git-Tag: 1.3.1~4 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F54%2F72354%2F1;p=testsuite.git Wait an extra minute for vfwclosedloop detection Change-Id: If6904b71f2b70677f35a71797443b375ebe96836 Issue-ID: INT-715 Signed-off-by: Gary Wu --- 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