diff options
author | JingLu5 <lvjing5@huawei.com> | 2017-04-27 12:46:40 +0000 |
---|---|---|
committer | Jing Lu <lvjing5@huawei.com> | 2017-05-04 01:02:37 +0000 |
commit | de1304d0c1e1e43c4b02ec4b715bb79ef36134a9 (patch) | |
tree | d15dbca3dc34b8976cc6c5b6bff1141373f2fae3 | |
parent | a87e2b84d683d10ebace26f4df7a8bbe8a801e60 (diff) |
bugfix: fix HA testcases
Change-Id: Ib38e94610a108ff7195cefdfaf048e0f4fd894e8
Signed-off-by: JingLu5 <lvjing5@huawei.com>
(cherry picked from commit 6604cb5f2d6e3c819cb8488f1ad3468184822cf9)
-rw-r--r-- | tests/opnfv/test_cases/opnfv_yardstick_tc053.yaml | 2 | ||||
-rwxr-xr-x | yardstick/benchmark/scenarios/availability/ha_tools/check_process_python.bash | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc053.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc053.yaml index b6bbb8966..cc5b5cd3e 100644 --- a/tests/opnfv/test_cases/opnfv_yardstick_tc053.yaml +++ b/tests/opnfv/test_cases/opnfv_yardstick_tc053.yaml @@ -34,7 +34,7 @@ scenarios: host: node1 monitor_time: 20 sla: - max_recover_time: 30 + max_recover_time: 20 - monitor_type: "openstack-cmd" diff --git a/yardstick/benchmark/scenarios/availability/ha_tools/check_process_python.bash b/yardstick/benchmark/scenarios/availability/ha_tools/check_process_python.bash index 88baed7d9..7c275f7ce 100755 --- a/yardstick/benchmark/scenarios/availability/ha_tools/check_process_python.bash +++ b/yardstick/benchmark/scenarios/availability/ha_tools/check_process_python.bash @@ -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 |