diff options
-rw-r--r-- | ci/config_functest.yaml | 1 | ||||
-rwxr-xr-x | testcases/OpenStack/healthcheck/healthcheck.sh | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ci/config_functest.yaml b/ci/config_functest.yaml index d6497678a..fe2a2d6fe 100644 --- a/ci/config_functest.yaml +++ b/ci/config_functest.yaml @@ -56,6 +56,7 @@ general: healthcheck: disk_image: /home/opnfv/functest/data/cirros-0.3.4-x86_64-disk.img disk_format: qcow2 + wait_time: 60 vping: ping_timeout: 200 diff --git a/testcases/OpenStack/healthcheck/healthcheck.sh b/testcases/OpenStack/healthcheck/healthcheck.sh index 996aadcf7..e27cf4b4b 100755 --- a/testcases/OpenStack/healthcheck/healthcheck.sh +++ b/testcases/OpenStack/healthcheck/healthcheck.sh @@ -223,7 +223,8 @@ info "Testing Nova API..." # This delay should be removed after resolving Jira case APEX-149. # The purpose is to give some time to populate openflow rules # by SDN controller in case of odl_l2 scenario. -sleep 60 +wait_time=$(cat ${YAML_FILE} | shyaml get-value healthcheck.wait_time 2> /dev/null || true) +sleep ${wait_time} # Check if flavor exists |