summaryrefslogtreecommitdiff
path: root/bin/check
diff options
context:
space:
mode:
Diffstat (limited to 'bin/check')
-rwxr-xr-xbin/check5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/check b/bin/check
index b90e15d..7aa1fe4 100755
--- a/bin/check
+++ b/bin/check
@@ -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