1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Revert "Skip SOCKET test if Redis is not listening on a socket"

This reverts commit e646b4eb39.
This commit is contained in:
Hans Kristian Flaatten
2015-07-24 15:33:37 +02:00
parent da535a6977
commit b1ae21d221

View File

@@ -166,15 +166,6 @@ tests.IPV6 = function () {
}
tests.UNIX_SOCKET = function () {
try {
var stat = require('fs').accessSync('/tmp/redis.sock');
} catch(err) {
if (err.code === 'ENOENT') {
console.log("Skipping SOCKET since none exists");
return run_next_test();
}
}
var unixClient = redis.createClient('/tmp/redis.sock', { parser: parser });
// if this fails, check the permission of unix socket.