Commit 86a47857 authored by anonym's avatar anonym
Browse files

Test suite: work around closing TCA too fast.

parent 4e5927ad
......@@ -393,6 +393,13 @@ def tca_configure(mode, &block)
if failure_reported
raise TCAConnectionFailure, 'TCA failed to connect to Tor'
end
# XXX: we're so fast closing TCA here that it's done before it
# issues the SAVECONF, but seemingly only for the "DisableNetwork=0"
# part, resulting in a lot of breakage. Ideally we would fix this in
# TCA itself, since a user could be this fast too, theoretically.
try_for(10) do
$vm.execute('grep "DisableNetwork 1" /etc/tor/torrc').failure?
end
@screen.press('alt', 'F4')
end
......
Supports Markdown
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