summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2017-04-17 16:58:46 +0000
committerintrigeri <intrigeri@boum.org>2017-04-17 16:58:46 +0000
commitdb4d61e4900e1e033a9f9f7b82015660ac37d124 (patch)
treedb0fa8ffb5a0f3708f88115eba5565009dc015ab
parente52ec069eb99861d4e6ce56d4ab148b1c3aada12 (diff)
Add a couple sleeps to see if the test regressions I see on the reproducible builds branch are mere race conditions.
refs: #11983
-rw-r--r--features/gnome.feature1
-rw-r--r--features/step_definitions/apt.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/features/gnome.feature b/features/gnome.feature
index 61cbaae..b947297 100644
--- a/features/gnome.feature
+++ b/features/gnome.feature
@@ -3,6 +3,7 @@ Feature: GNOME is well-integrated into Tails
Scenario: A screenshot is taken when the PRINTSCREEN key is pressed
Given I have started Tails from DVD without network and logged in
+ And I wait 10 seconds
And there is no screenshot in the live user's Pictures directory
When I press the "PRINTSCREEN" key
Then a screenshot is saved to the live user's Pictures directory
diff --git a/features/step_definitions/apt.rb b/features/step_definitions/apt.rb
index 9aec34f..702b4a4 100644
--- a/features/step_definitions/apt.rb
+++ b/features/step_definitions/apt.rb
@@ -83,6 +83,7 @@ When /^I update APT using Synaptic$/ do
end
retry_tor(recovery_proc) do
@synaptic.button('Reload').click
+ sleep 10 # It might take some time before APT starts downloading
try_for(15*60, :msg => "Took too much time to download the APT data") {
!$vm.has_process?("/usr/lib/apt/methods/tor+http")
}