diff options
author | Philip Hands <phil@hands.com> | 2016-05-22 20:18:03 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-05-22 20:29:44 +0200 |
commit | bff872a6b6777242a4effc5a4d747149766a46d2 (patch) | |
tree | db64bafff96c3a4de9988e2ea34e8d297bc0bbef /cucumber/features/step_definitions/common_steps.rb | |
parent | 3d052744116ca8e28a12c1bde63716531da68da8 (diff) | |
download | jenkins.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.rb | 6 |
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 |