You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Windows fixes
Skip redis process spawn on windows for now
This commit is contained in:
@@ -257,20 +257,21 @@ describe("connection tests", function () {
|
||||
client.once('ready', done);
|
||||
});
|
||||
|
||||
if (process.platform !== 'win32') {
|
||||
it("connect with path provided in the options object", function (done) {
|
||||
client = redis.createClient({
|
||||
path: '/tmp/redis.sock',
|
||||
parser: parser,
|
||||
connect_timeout: 1000
|
||||
});
|
||||
|
||||
var end = helper.callFuncAfter(done, 2);
|
||||
|
||||
client.once('ready', end);
|
||||
client.set('foo', 'bar', end);
|
||||
it("connect with path provided in the options object", function (done) {
|
||||
if (process.platform === 'win32') {
|
||||
this.skip();
|
||||
}
|
||||
client = redis.createClient({
|
||||
path: '/tmp/redis.sock',
|
||||
parser: parser,
|
||||
connect_timeout: 1000
|
||||
});
|
||||
}
|
||||
|
||||
var end = helper.callFuncAfter(done, 2);
|
||||
|
||||
client.once('ready', end);
|
||||
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