Commit f10a95a5 authored by intrigeri's avatar intrigeri
Browse files

Lower waiting time for USB installation in the test suite.

So far we were waiting up to one hour, which is just the same as our
Jenkins inactivity timeout, so in practice when Tails Installer fails
and displays an error message, instead of reporting that the job failed
(which is the point of the exercise) we abort the job due to this
timeout (which communicates waaaay less clearly to me, with my Tails
Installer developer hat, that there's probably a bug I should fix, as
opposed to "here's a transient failure caused by instabilities of our
Jenkins setup"). My understanding is that this is what prevented the
Tails Installer bug described on #10717 from being identified earlier,
and I don't want to see that happen again.

IIRC this 1h timeout was relevant for running with nested virtualization
on slightly old (ThinkPad X200) hardware. I don't think anyone does that
anymore, and I would bet that on such hardware, lots of other bits of
our test suite will time out anyway.

Fix-committed: #10718
parent 8c15633f
......@@ -90,7 +90,7 @@ def usb_install_helper(name)
end
@screen.wait('USBCreateLiveUSBConfirmWindow.png', 10)
@screen.wait_and_click('USBCreateLiveUSBConfirmYes.png', 10)
@screen.wait('USBInstallationComplete.png', 60*60)
@screen.wait('USBInstallationComplete.png', 30*60)
end
When /^I start Tails Installer$/ do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment