summaryrefslogtreecommitdiffstats
path: root/features/step_definitions
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-12-19 16:58:47 +0100
committerHolger Levsen <holger@layer-acht.org>2014-12-21 09:47:02 +0100
commitdd389ff85d928c433300a560fda612a69662b8d5 (patch)
treeb732801e3cc163794f648dd5dcbe9c5fd5122711 /features/step_definitions
parentf51786bf7b2f7fb7dec8d7803deb3773e4d444f7 (diff)
downloadjenkins.debian.net-dd389ff85d928c433300a560fda612a69662b8d5.tar.xz
lvc: disable more code: don't wait for remote shell and don't check tor status
Diffstat (limited to 'features/step_definitions')
-rw-r--r--features/step_definitions/common_steps.rb25
1 files changed, 13 insertions, 12 deletions
diff --git a/features/step_definitions/common_steps.rb b/features/step_definitions/common_steps.rb
index 09733a09..e640aed1 100644
--- a/features/step_definitions/common_steps.rb
+++ b/features/step_definitions/common_steps.rb
@@ -39,26 +39,27 @@ end
def restore_background
@vm.restore_snapshot($background_snapshot)
- @vm.wait_until_remote_shell_is_up
+ #@vm.wait_until_remote_shell_is_up
post_vm_start_hook
# XXX-9p: See XXX-9p above
#activate_filesystem_shares
+ # debian-TODO: move to tor feature
# The guest's Tor's circuits' states are likely to get out of sync
# with the other relays, so we ensure that we have fresh circuits.
# Time jumps and incorrect clocks also confuses Tor in many ways.
- if @vm.has_network?
- if @vm.execute("service tor status").success?
- @vm.execute("service tor stop")
- @vm.execute("rm -f /var/log/tor/log")
- @vm.execute("killall vidalia")
- @vm.host_to_guest_time_sync
- @vm.execute("service tor start")
- wait_until_tor_is_working
- @vm.spawn("/usr/local/sbin/restart-vidalia")
- end
- end
+ #if @vm.has_network?
+ # if @vm.execute("service tor status").success?
+ # @vm.execute("service tor stop")
+ # @vm.execute("rm -f /var/log/tor/log")
+ # @vm.execute("killall vidalia")
+ # @vm.host_to_guest_time_sync
+ # @vm.execute("service tor start")
+ # wait_until_tor_is_working
+ # @vm.spawn("/usr/local/sbin/restart-vidalia")
+ # end
+ #end
end
Given /^a computer$/ do