Commit 959bcaa3 authored by intrigeri's avatar intrigeri
Browse files

Test suite: use new --no-wait option when retrying tails-upgrade-frontend-wrapper (refs: #15379)

… instead of trying to patch shell code that does not exist anymore.
parent 5f90c39e
......@@ -50,9 +50,8 @@ end
def recover_from_upgrader_failure
$vm.execute('killall tails-upgrade-frontend tails-upgrade-frontend-wrapper zenity')
# Remove unnecessary sleep for retry
$vm.execute_successfully('sed -i "/^sleep 30$/d" ' +
'/usr/local/bin/tails-upgrade-frontend-wrapper')
# Do not sleep when retrying
$vm.execute_successfully('/usr/local/bin/tails-upgrade-frontend-wrapper --no-wait')
$vm.spawn('tails-upgrade-frontend-wrapper', user: LIVE_USER)
end
......
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