summaryrefslogtreecommitdiffstats
path: root/cucumber/features/step_definitions/common_steps.rb
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-05-22 20:18:03 +0200
committerHolger Levsen <holger@layer-acht.org>2016-05-22 20:29:44 +0200
commitbff872a6b6777242a4effc5a4d747149766a46d2 (patch)
treedb64bafff96c3a4de9988e2ea34e8d297bc0bbef /cucumber/features/step_definitions/common_steps.rb
parent3d052744116ca8e28a12c1bde63716531da68da8 (diff)
downloadjenkins.debian.net-bff872a6b6777242a4effc5a4d747149766a46d2.tar.xz
lvc: vastly more patience required
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'cucumber/features/step_definitions/common_steps.rb')
-rw-r--r--cucumber/features/step_definitions/common_steps.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index d8611195..0783c66d 100644
--- a/cucumber/features/step_definitions/common_steps.rb
+++ b/cucumber/features/step_definitions/common_steps.rb
@@ -263,10 +263,12 @@ When /^I destroy the computer$/ do
$vm.destroy_and_undefine
end
-Given /^I boot to the d-i splash screen$/ do
+Given /^I accept that the machine is sl(o+)w$/ do |slowness|
+ @patience = 2^slowness.length
+end
+Given /^I boot to the d-i splash screen$/ do
boot_timeout = 60
- @patience = 6
@screen.wait("d-i8_bootsplash.png", boot_timeout * @patience)
end