diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2018-10-05 13:28:19 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2018-10-05 13:28:19 +0300 |
commit | 018d5f15b5b425c62fd018fb747107cd6b7e7a8a (patch) | |
tree | e4dc7d0eac5d5e99a6c23b5e2b811b6ca6790dc8 | |
parent | 07c606703ef1510d35aa6c49ea2aec8f8a505670 (diff) |
Tail logs for CI debuggingjv-try-fix-bundle-in-bundle
-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)) |