summaryrefslogtreecommitdiffstats
path: root/cucumber
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2017-08-04 04:05:49 +0200
committerHolger Levsen <holger@layer-acht.org>2017-08-04 09:46:15 -0400
commit8408e775b2540af4335153f006e49f1bd7fedde8 (patch)
tree5089e24537296bb7df901f2d8a621cda40efb60a /cucumber
parentbe428000a5dd8081113323131cbc5af837a15e05 (diff)
downloadjenkins.debian.net-8408e775b2540af4335153f006e49f1bd7fedde8.tar.xz
lvc: make the root prompt more patient, to see if that helps at all
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'cucumber')
-rw-r--r--cucumber/features/step_definitions/common_steps.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index 7905891f..e92309e4 100644
--- a/cucumber/features/step_definitions/common_steps.rb
+++ b/cucumber/features/step_definitions/common_steps.rb
@@ -254,12 +254,12 @@ end
Given /^I set the root password to "([^"]*)"$/ do |rootpw|
# Root Password, twice
- on_screen, _ = @screen.waitAny([diui_png("ShowRootPassword"),diui_png("RootPassword"),diui_png("MirrorCountry")], 30 * PATIENCE)
- on_screen, _ = @screen.waitAny([diui_png("ShowRootPassword"),diui_png("RootPassword"),diui_png("MirrorCountry")], 30 * PATIENCE)
+ on_screen, _ = @screen.waitAny([diui_png("ShowRootPassword"),diui_png("RootPassword"),diui_png("MirrorCountry")], 60 * PATIENCE)
+ on_screen, _ = @screen.waitAny([diui_png("ShowRootPassword"),diui_png("RootPassword"),diui_png("MirrorCountry")], 60 * PATIENCE)
if diui_png("MirrorCountry") == on_screen
step("I accept the default mirror")
- on_screen, _ = @screen.waitAny([diui_png("ShowRootPassword"),diui_png("RootPassword")], 30 * PATIENCE)
- on_screen, _ = @screen.waitAny([diui_png("ShowRootPassword"),diui_png("RootPassword")], 30 * PATIENCE)
+ on_screen, _ = @screen.waitAny([diui_png("ShowRootPassword"),diui_png("RootPassword")], 60 * PATIENCE)
+ on_screen, _ = @screen.waitAny([diui_png("ShowRootPassword"),diui_png("RootPassword")], 60 * PATIENCE)
end
@screen.type(rootpw)
if "gui" == @ui_mode