You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
Fix unix only test not to run on windows
This commit is contained in:
@@ -49,7 +49,7 @@ describe("connection tests", function () {
|
||||
});
|
||||
|
||||
it("emit an error after max retry timeout and do not try to reconnect afterwards", function (done) {
|
||||
var connect_timeout = 500; // in ms
|
||||
var connect_timeout = 600; // in ms
|
||||
client = redis.createClient({
|
||||
parser: parser,
|
||||
connect_timeout: connect_timeout
|
||||
@@ -187,6 +187,7 @@ describe("connection tests", function () {
|
||||
});
|
||||
});
|
||||
|
||||
if (process.platform !== 'win32') {
|
||||
it("connect with path provided in the options object", function (done) {
|
||||
client = redis.createClient({
|
||||
path: '/tmp/redis.sock',
|
||||
@@ -202,6 +203,7 @@ describe("connection tests", function () {
|
||||
|
||||
client.set('foo', 'bar', end);
|
||||
});
|
||||
}
|
||||
|
||||
it("connects correctly with args", function (done) {
|
||||
client = redis.createClient.apply(redis.createClient, args);
|
||||
|
Reference in New Issue
Block a user