diff options
-rw-r--r-- | ruby/spec/integration_helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ruby/spec/integration_helper.rb b/ruby/spec/integration_helper.rb index f76e640ff..4ac7c0e92 100644 --- a/ruby/spec/integration_helper.rb +++ b/ruby/spec/integration_helper.rb @@ -52,6 +52,8 @@ def start_gitaly gitaly_pid = spawn(env, File.join(build_dir, 'bin/gitaly'), config_path, options) +sleep 1; spawn("tail -f #{test_log}") + at_exit { Process.kill('KILL', gitaly_pid) } wait_ready!(File.join('tmp', SOCKET_PATH)) |