summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2019-01-27 08:22:50 +0000
committerintrigeri <intrigeri@boum.org>2019-01-27 08:22:50 +0000
commit354db2e5173fc9d18902ac703ac8db7ff3b59900 (patch)
treee97575ae868bb64f33ebc6ee3cc0fadba376d40f
parent0c75ce62becd7372661624dc9f1b7538f4015c0d (diff)
Test suite: don't look for an unrelated notification when checking if tails-additional-software-upgrade.service has started (refs: #14596)
This service does not display notifications on success: only tails-additional-software-install.service does. Context: I'm trying to wrap my mind around how Additional Software notifications are handled in the test suite and it confused me a bit that we were looking for a notification that is unrelated to what this step is testing.
-rw-r--r--features/step_definitions/additional_software_packages.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/features/step_definitions/additional_software_packages.rb b/features/step_definitions/additional_software_packages.rb
index 37ece0c..4ffdec0 100644
--- a/features/step_definitions/additional_software_packages.rb
+++ b/features/step_definitions/additional_software_packages.rb
@@ -14,7 +14,9 @@ Then /^the Additional Software (upgrade|installation) service has started$/ do |
try_for(seconds_to_wait, :delay => 10) do
$vm.execute("systemctl status #{service}.service").success?
end
- step "I am notified that the installation succeeded"
+ if service == "installation"
+ step "I am notified that the installation succeeded"
+ end
end
end