summaryrefslogtreecommitdiffstats
path: root/cucumber
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-11-26 16:01:50 +0100
committerPhilip Hands <phil@hands.com>2016-11-26 23:52:18 +0100
commit6417b267a8b08476dd201ec6e596ab0c36f6005c (patch)
tree7f4216637be568d1f2c5a7154fa84b73dda340e4 /cucumber
parent535f47c23e9ebe27b3d601776a5b4e5ffdf2edb0 (diff)
downloadjenkins.debian.net-6417b267a8b08476dd201ec6e596ab0c36f6005c.tar.xz
lvc: add a long pause on failure, to give time for manual debugging
Diffstat (limited to 'cucumber')
-rw-r--r--cucumber/features/step_definitions/common_steps.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index a31d3fd6..b7f29d4b 100644
--- a/cucumber/features/step_definitions/common_steps.rb
+++ b/cucumber/features/step_definitions/common_steps.rb
@@ -566,9 +566,10 @@ Given /^I wait while the bulk of the packages are installed$/ do
end
debug_log("debug: typed F4, pausing...", :color => :blue)
sleep(5)
- debug_log("debug: slept 10", :color => :blue)
+ debug_log("debug: slept 5", :color => :blue)
if diui_png("InstallationStepFailed") == hit
failed = true
+ sleep(30*60) # pause for 30-mins, for debugging
else
if "gui" == @ui_mode
@screen.type(Sikuli::Key.F5, Sikuli::KeyModifier.ALT)