diff options
author | Philip Hands <phil@hands.com> | 2016-05-12 10:59:31 +0200 |
---|---|---|
committer | Philip Hands <phil@hands.com> | 2016-05-12 10:59:31 +0200 |
commit | a097201c33d8573b1cc2f9a153df708d01fa3c98 (patch) | |
tree | 9604c0b0fdb7311fa67aa7294b8024932ace26bb | |
parent | 2af354a85e02deaf0d07a068d7be10817181d1be (diff) | |
download | jenkins.debian.net-a097201c33d8573b1cc2f9a153df708d01fa3c98.tar.xz |
tune the timing for the Gnome Desktop package instalation
-rw-r--r-- | cucumber/features/step_definitions/common_steps.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb index 0e5c6876..ed896d3a 100644 --- a/cucumber/features/step_definitions/common_steps.rb +++ b/cucumber/features/step_definitions/common_steps.rb @@ -459,13 +459,14 @@ end Given /^in ([a-z]*) mode I wait while the ([a-z]* |)bulk of the packages are installed$/ do |ui_mode,vast| @screen.wait(diui_png("InstallSoftware",ui_mode), 10) if "vast " == vast - 40.times do + debug_log("debug: lots of packages, so sod about with AltF4/1 to keep things alive, hopefully", :color => :blue) + 20.times do sleep(50) @screen.type(Sikuli::Key.F4, Sikuli::KeyModifier.ALT) sleep(10) @screen.type(Sikuli::Key.F1, Sikuli::KeyModifier.ALT) end - debug_log("debug: 50 mins in...", :color => :blue) + debug_log("debug: 20 mins in...", :color => :blue) end @screen.wait(diui_png("InstallSoftware",ui_mode), 10) @screen.waitVanish(diui_png("InstallSoftware",ui_mode), 40 * 60) |