test/vhost: increase VM shutdown timeout in vm_shutdown_all

Test pool (and personal observatian VM launched by hand) show that VM
boot and shutdwon time can vary a lot. It would be good to make this
time more predictable but till then increase the shutdown timeout to 30s
in hope this will solve random shutdown timeout issue.

Change-Id: Icd23dc512aaf91bff47740308929ec4057c69469
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-on: https://review.gerrithub.io/405885
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Pawel Wodkowski 2018-03-30 16:55:46 +02:00 committed by Jim Harris
parent 35aefc9e84
commit 83ada529a4

View File

@ -460,7 +460,7 @@ function vm_shutdown_all()
done
notice "Waiting for VMs to shutdown..."
local timeo=15
local timeo=30
while [[ $timeo -gt 0 ]]; do
local all_vms_down=1
for vm in $vms; do