bugfix: fix HA testcases 51/33951/1
authorJingLu5 <lvjing5@huawei.com>
Thu, 27 Apr 2017 12:46:40 +0000 (12:46 +0000)
committerJingLu5 <lvjing5@huawei.com>
Thu, 27 Apr 2017 12:46:40 +0000 (12:46 +0000)
Change-Id: Ib38e94610a108ff7195cefdfaf048e0f4fd894e8
Signed-off-by: JingLu5 <lvjing5@huawei.com>
tests/opnfv/test_cases/opnfv_yardstick_tc053.yaml
yardstick/benchmark/scenarios/availability/ha_tools/check_process_python.bash

index b6bbb89..cc5b5cd 100644 (file)
@@ -34,7 +34,7 @@ scenarios:
           host: node1
           monitor_time: 20
           sla:
-            max_recover_time: 30
+            max_recover_time: 20
 
         -
           monitor_type: "openstack-cmd"
index 88baed7..7c275f7 100755 (executable)
@@ -15,4 +15,4 @@ set -e
 
 process_name=$1
 
-ps aux | grep -e .*python.*$process_name.* | grep -v grep | wc -l
+ps aux | grep -e $process_name | grep -v grep | wc -l