diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-10-03 16:49:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-10-03 16:49:10 +0000 |
commit | 4140bb0ed38567e535b967d47daad4a64ba8c139 (patch) | |
tree | fd084b0367698b07a48227acb1f980e5c031f4f5 /tests/appc/healthcheck/APPC_Netstat.robot | |
parent | e83384b37acfb0e2ce132f09766f5294e0c59cd5 (diff) | |
parent | 050ef547a66e77c61b268528fc36b986a85acea6 (diff) |
Merge "Remove false positive tests"
Diffstat (limited to 'tests/appc/healthcheck/APPC_Netstat.robot')
-rw-r--r-- | tests/appc/healthcheck/APPC_Netstat.robot | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/appc/healthcheck/APPC_Netstat.robot b/tests/appc/healthcheck/APPC_Netstat.robot index 285fc372..200a4966 100644 --- a/tests/appc/healthcheck/APPC_Netstat.robot +++ b/tests/appc/healthcheck/APPC_Netstat.robot @@ -1,8 +1,11 @@ *** Settings *** Library OperatingSystem +Library String *** Test Cases *** APPC Netstat [Documentation] Checking the active ports - ${output}= Run netstat -a | grep -E 8282 | grep LISTEN + ${output}= Run netstat -a | grep -E ":8282 " | grep LISTEN Log To Console ${output} + ${line_count}= Get Line Count ${output} + Should Be Equal As Strings ${line_count} 1 |