From 018d5f15b5b425c62fd018fb747107cd6b7e7a8a Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Fri, 5 Oct 2018 12:28:19 +0200 Subject: Tail logs for CI debugging --- ruby/spec/integration_helper.rb | 2 ++ 1 file changed, 2 insertions(+) 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)) -- cgit v1.2.3