From 7afbb46ebd8ff6c4205e306981adc1eb5cd32dad Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Sat, 21 May 2016 14:01:42 +0200 Subject: lvc: wait longer for the remote shell --- cucumber/features/support/helpers/exec_helper.rb | 2 +- cucumber/features/support/helpers/vm_helper.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cucumber/features/support') 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 -- cgit v1.2.3-70-g09d2