Sleep less time while waiting for the VM to boot

This commit is contained in:
Mitchell Hashimoto 2011-01-09 12:48:21 -08:00
parent dc4bf530fb
commit b1627ca41b
1 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ module Vagrant
# Start up the VM and wait for it to boot.
boot
raise Errors::VMFailedToBoot if !wait_for_boot
@app.call(env)
end
@ -34,7 +35,7 @@ module Vagrant
# get shown
return true if @env.interrupted?
sleep 5 if !@env["vagrant.test"]
sleep 2 if !@env["vagrant.test"]
end
@env.ui.error I18n.t("vagrant.actions.vm.boot.failed")