From 8408e775b2540af4335153f006e49f1bd7fedde8 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Fri, 4 Aug 2017 04:05:49 +0200 Subject: lvc: make the root prompt more patient, to see if that helps at all Signed-off-by: Holger Levsen --- cucumber/features/step_definitions/common_steps.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 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 -- cgit v1.2.3-54-g00ecf