aboutsummaryrefslogtreecommitdiffstats
path: root/tests/appc/healthcheck/APPC_Netstat.robot
diff options
context:
space:
mode:
authorStanislav Chlebec <stanislav.chlebec@pantheon.tech>2018-10-03 08:45:16 +0200
committerStanislav Chlebec <stanislav.chlebec@pantheon.tech>2018-10-03 16:47:39 +0200
commit050ef547a66e77c61b268528fc36b986a85acea6 (patch)
tree09d0f2c1077312cbde285195cf7ec104fdb6ea12 /tests/appc/healthcheck/APPC_Netstat.robot
parentc078eea2b2809a22aad21f1b4f8c49d018ece7b6 (diff)
Remove false positive tests
Originally abandoned by author Matej Klotton - original Change-Id: I7030428ce113baeafbde205bcb90c85c9d56daf9. Change-Id: I6f6eeaa49965b96c58d5012b8a5625bc42573693 Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech> Issue-ID: APPC-1204 Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech>
Diffstat (limited to 'tests/appc/healthcheck/APPC_Netstat.robot')
-rw-r--r--tests/appc/healthcheck/APPC_Netstat.robot5
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