[Qa-jenkins-scm] [jenkins.debian.net] 06/14: lvc: wait longer for popcon prompt
Holger Levsen
holger at layer-acht.org
Thu Nov 3 09:32:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 70295394b5b1f2a6ee995cea47a1c23708ed9662
Author: Philip Hands <phil at hands.com>
Date: Tue Oct 25 13:25:48 2016 +0200
lvc: wait longer for popcon prompt
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
cucumber/features/step_definitions/common_steps.rb | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index f98dee5..96f1cce 100644
--- a/cucumber/features/step_definitions/common_steps.rb
+++ b/cucumber/features/step_definitions/common_steps.rb
@@ -377,11 +377,13 @@ end
Given /^I note that the Base system is being installed$/ do
@screen.wait(diui_png("InstallingBaseSystem"), 30 * PATIENCE)
+ debug_log("debug: Found InstallingBaseSystem. Wait for it to vanish", :color => :blue)
@screen.waitVanish(diui_png("InstallingBaseSystem"), 15 * 60 * PATIENCE)
+ debug_log("debug: InstallingBaseSystem vanished", :color => :blue)
end
Given /^I accept the default mirror$/ do
- on_screen, _ = @screen.waitAny([diui_png("popcon"),diui_png("BadMirror"),diui_png("MirrorCountry")], 5 * 60 * PATIENCE)
+ on_screen, _ = @screen.waitAny([diui_png("popcon"),diui_png("BadMirror"),diui_png("MirrorCountry")], 10 * 60 * PATIENCE)
if diui_png("MirrorCountry") == on_screen
@screen.wait(diui_png("MirrorCountry"), 10 * 60 * PATIENCE)
@screen.type(Sikuli::Key.ENTER)
@@ -410,7 +412,7 @@ Given /^I neglect to scan more CDs$/ do
end
Given /^I ignore Popcon$/ do
- on_screen, _ = @screen.waitAny([diui_png("popcon"),diui_png("BadMirror"),diui_png("ChooseSoftware")], 10 * 60)
+ on_screen, _ = @screen.waitAny([diui_png("popcon"),diui_png("BadMirror"),diui_png("ChooseSoftware")], 10 * 60 * PATIENCE)
if diui_png("ChooseSoftware") != on_screen
if on_screen == diui_png("BadMirror")
if "gui" == @ui_mode
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list