summaryrefslogtreecommitdiffstats
path: root/cucumber/features/support
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-05-21 14:01:42 +0200
committerHolger Levsen <holger@layer-acht.org>2016-05-21 14:05:55 +0200
commit7afbb46ebd8ff6c4205e306981adc1eb5cd32dad (patch)
tree75d4db0c25f0ea2454c12843961a5dfdae4c76b8 /cucumber/features/support
parent14eea3e4caa37583911a95b5e27b6dd1598b7092 (diff)
downloadjenkins.debian.net-7afbb46ebd8ff6c4205e306981adc1eb5cd32dad.tar.xz
lvc: wait longer for the remote shell
Diffstat (limited to 'cucumber/features/support')
-rw-r--r--cucumber/features/support/helpers/exec_helper.rb2
-rw-r--r--cucumber/features/support/helpers/vm_helper.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/cucumber/features/support/helpers/exec_helper.rb b/cucumber/features/support/helpers/exec_helper.rb
index 14e12269..8be1e5c4 100644
--- a/cucumber/features/support/helpers/exec_helper.rb
+++ b/cucumber/features/support/helpers/exec_helper.rb
@@ -11,7 +11,7 @@ class VMCommand
@returncode, @stdout, @stderr = VMCommand.execute(vm, cmd, options)
end
- def VMCommand.wait_until_remote_shell_is_up(vm, timeout = 90)
+ def VMCommand.wait_until_remote_shell_is_up(vm, timeout = 180)
try_for(timeout, :msg => "Remote shell seems to be down") do
sleep(20)
Timeout::timeout(10) do
diff --git a/cucumber/features/support/helpers/vm_helper.rb b/cucumber/features/support/helpers/vm_helper.rb
index 6d7204d4..ad1493f8 100644
--- a/cucumber/features/support/helpers/vm_helper.rb
+++ b/cucumber/features/support/helpers/vm_helper.rb
@@ -448,7 +448,7 @@ EOF
return execute(cmd, options)
end
- def wait_until_remote_shell_is_up(timeout = 90)
+ def wait_until_remote_shell_is_up(timeout = 180)
VMCommand.wait_until_remote_shell_is_up(self, timeout)
end