Commit 73e3d6b8 authored by Rémy Coutable's avatar Rémy Coutable

Ensure no exception is raised if the Gitaly process is already gone in TestEnv.cleanup

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent a3368a98
......@@ -182,6 +182,8 @@ module TestEnv
return unless @gitaly_pid
Process.kill('KILL', @gitaly_pid)
rescue Errno::ESRCH
# The process can already be gone if the test run was INTerrupted.
end
def setup_factory_repo
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment