From bff872a6b6777242a4effc5a4d747149766a46d2 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Sun, 22 May 2016 20:18:03 +0200 Subject: lvc: vastly more patience required Signed-off-by: Holger Levsen --- cucumber/features/step_definitions/common_steps.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cucumber/features/step_definitions/common_steps.rb') 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 -- cgit v1.2.3-70-g09d2