From 83ada529a42d6e3a67efe71f0bc9d553c0b32c79 Mon Sep 17 00:00:00 2001 From: Pawel Wodkowski Date: Fri, 30 Mar 2018 16:55:46 +0200 Subject: [PATCH] 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 Reviewed-on: https://review.gerrithub.io/405885 Tested-by: SPDK Automated Test System Reviewed-by: Karol Latecki Reviewed-by: Daniel Verkamp Reviewed-by: Jim Harris --- test/vhost/common/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/vhost/common/common.sh b/test/vhost/common/common.sh index 63776c239..754e6c779 100644 --- a/test/vhost/common/common.sh +++ b/test/vhost/common/common.sh @@ -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