X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tests%2Fappc%2Fhealthcheck%2FAPPC_Netstat.robot;h=200a496617aa7143bf7861fe7df9a256474adfdc;hb=050ef547a66e77c61b268528fc36b986a85acea6;hp=285fc3727b5e679c67d238b1d358e80f1bdf4491;hpb=c078eea2b2809a22aad21f1b4f8c49d018ece7b6;p=integration%2Fcsit.git 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