summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-04-25 08:21:06 +0000
committerRémy Coutable <remy@rymai.me>2017-04-25 08:21:06 +0000
commita9a1f7a61a71399a95b953272e1ff66d60297571 (patch)
tree8be7331ec6c434b3712dacd8b1a5976d99a20787 /spec/support
parent080aac050d852c332181a0e3fed7821d52d16c1a (diff)
parent476037b05b1a773bbe163ad01bc2046e38bf5a1f (diff)
downloadgitlab-ce-a9a1f7a61a71399a95b953272e1ff66d60297571.tar.gz
Merge branch 'gitaly-testing-toml' into 'master'
Gitaly testing toml Closes gitaly#182 See merge request !10605
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/test_env.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/support/test_env.rb b/spec/support/test_env.rb
index eb0f1efe55b..5c8ee8d62f5 100644
--- a/spec/support/test_env.rb
+++ b/spec/support/test_env.rb
@@ -125,12 +125,13 @@ module TestEnv
raise "Can't clone gitaly"
end
- start_gitaly(gitaly_dir, socket_path)
+ start_gitaly(gitaly_dir)
end
- def start_gitaly(gitaly_dir, socket_path)
+ def start_gitaly(gitaly_dir)
gitaly_exec = File.join(gitaly_dir, 'gitaly')
- @gitaly_pid = spawn({ "GITALY_SOCKET_PATH" => socket_path }, gitaly_exec, [:out, :err] => '/dev/null')
+ gitaly_config = File.join(gitaly_dir, 'config.toml')
+ @gitaly_pid = spawn(gitaly_exec, gitaly_config, [:out, :err] => '/dev/null')
end
def stop_gitaly