Fix the zrpcd running check within testcase3 91/34491/1
authortomsou <soth@intracom-telecom.com>
Tue, 9 May 2017 12:54:47 +0000 (12:54 +0000)
committertomsou <soth@intracom-telecom.com>
Tue, 9 May 2017 13:02:44 +0000 (13:02 +0000)
Check specifically the "running" state of the zrpcd service

JIRA: SDNVPN-150

Change-Id: I1b63f25dfab5fd4507cc219fb1c21291064a8bab
Signed-off-by: tomsou <soth@intracom-telecom.com>
sdnvpn/test/functest/testcase_3.py

index 0f22f53..b9ea74a 100644 (file)
@@ -77,7 +77,7 @@ def main():
     logger.info("Checking if zrpcd is "
                 "running on the controller node")
 
-    cmd = "systemctl status zrpcd"
+    cmd = "systemctl status zrpcd |grep -i running"
     output = controller.run_cmd(cmd)
     msg = ("zrpcd is running")