diff options
author | Stan Hu <stanhu@gmail.com> | 2016-05-09 00:21:10 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-05-12 07:00:19 -0500 |
commit | 7f7359b1381d376b81fd9b81120d8cfa0231a526 (patch) | |
tree | bec8110ed8c14fb0dc38ced1ebf21177dbc2acc5 /bin | |
parent | f0f1bbec8ad5d5fade7c0efeee22ba9b9bc44f07 (diff) | |
download | gitlab-shell-7f7359b1381d376b81fd9b81120d8cfa0231a526.tar.gz |
Use Redis Ruby client instead of shelling out to redis-cli
Closes gitlab-org/gitlab-ce#17329
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/check | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -36,8 +36,5 @@ dirs.each do |dir| puts "\n" end -print "Test redis-cli executable: " -abort('FAILED') unless system(*config.redis_command, '--version') - print "Send ping to redis server: " -abort unless system(*config.redis_command, 'ping') +abort unless GitlabNet.new.redis_client.ping |