Skip to content

Commit b1ae21d

Browse files
author
Hans Kristian Flaatten
committed
Revert "Skip SOCKET test if Redis is not listening on a socket"
This reverts commit e646b4e.
1 parent da535a6 commit b1ae21d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

test/test.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -166,15 +166,6 @@ tests.IPV6 = function () {
166166
}
167167

168168
tests.UNIX_SOCKET = function () {
169-
try {
170-
var stat = require('fs').accessSync('/tmp/redis.sock');
171-
} catch(err) {
172-
if (err.code === 'ENOENT') {
173-
console.log("Skipping SOCKET since none exists");
174-
return run_next_test();
175-
}
176-
}
177-
178169
var unixClient = redis.createClient('/tmp/redis.sock', { parser: parser });
179170

180171
// if this fails, check the permission of unix socket.

0 commit comments

Comments
 (0)