test/vhost: Fix VM timeouts during shutdown
Change system manager timeout for stopping services. Lagging services cause timeouts during shutting down VM. Change-Id: I7428724cf8795ffe3c215bacdb56cb3f58fbdff0 Signed-off-by: Pawel Niedzwiecki <pawelx.niedzwiecki@intel.com> Reviewed-on: https://review.gerrithub.io/427715 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
cf5dffe19e
commit
5efc71b5aa
@ -909,6 +909,8 @@ function vm_wait_for_boot()
|
||||
done
|
||||
echo ""
|
||||
notice "VM$vm_num ready"
|
||||
#Change Timeout for stopping services to prevent lengthy powerdowns
|
||||
vm_ssh $vm_num "echo 'DefaultTimeoutStopSec=10' >> /etc/systemd/system.conf; systemctl daemon-reexec"
|
||||
done
|
||||
|
||||
notice "all VMs ready"
|
||||
|
Loading…
x
Reference in New Issue
Block a user