summaryrefslogtreecommitdiff
path: root/rubylib
diff options
context:
space:
mode:
authorJon Cairns <jon@joncairns.com>2014-06-06 14:58:52 +0100
committerJon Cairns <jon@joncairns.com>2014-06-06 14:58:52 +0100
commit354f9d59883fa80f5ed21f14d09d679589e5fec2 (patch)
tree7445d3d0732d27fe01c60395344a67a4b334252d /rubylib
parentb9290c1cae0d56427217f7adc88233a9a8eb3d5f (diff)
downloadvdebug-354f9d59883fa80f5ed21f14d09d679589e5fec2.zip
Extend sleep time for cucumber tests
Diffstat (limited to 'rubylib')
-rw-r--r--rubylib/vdebug.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/rubylib/vdebug.rb b/rubylib/vdebug.rb
index d80812d..b1fe063 100644
--- a/rubylib/vdebug.rb
+++ b/rubylib/vdebug.rb
@@ -15,7 +15,7 @@ class Vdebug
write_lock_file!
clear_buffer_cache!
vim.server.remote_send ":python debugger.run()<CR>"
- sleep 1
+ sleep 2
end
def messages
@@ -118,6 +118,7 @@ class Vdebug
protected
def write_lock_file!
while File.exists?(@lock_file)
+ puts "Waiting for lock to be removed"
sleep 0.1
end
puts "Creating lock file for #{@instance_id}"