You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
Skip tls tests on windows and stunnel
This will also remove the libwrap option to work on arch
This commit is contained in:
@@ -103,7 +103,7 @@ describe("connection tests", function () {
|
||||
max_attempts: 1
|
||||
};
|
||||
client = redis.createClient(options);
|
||||
assert.strictEqual(client.connection_option.family, ip === 'IPv6' ? 6 : 4);
|
||||
assert.strictEqual(client.connection_options.family, ip === 'IPv6' ? 6 : 4);
|
||||
assert.strictEqual(Object.keys(options).length, 4);
|
||||
var end = helper.callFuncAfter(done, 2);
|
||||
|
||||
@@ -142,7 +142,7 @@ describe("connection tests", function () {
|
||||
assert(client.stream._events.timeout);
|
||||
});
|
||||
assert.strictEqual(client.address, '192.168.74.167:6379');
|
||||
assert.strictEqual(client.connection_option.family, 4);
|
||||
assert.strictEqual(client.connection_options.family, 4);
|
||||
var time = Date.now();
|
||||
|
||||
client.on("reconnecting", function (params) {
|
||||
@@ -162,7 +162,7 @@ describe("connection tests", function () {
|
||||
host: '2001:db8::ff00:42:8329' // auto detect ip v6
|
||||
});
|
||||
assert.strictEqual(client.address, '2001:db8::ff00:42:8329:6379');
|
||||
assert.strictEqual(client.connection_option.family, 6);
|
||||
assert.strictEqual(client.connection_options.family, 6);
|
||||
process.nextTick(function() {
|
||||
assert.strictEqual(client.stream._events.timeout, undefined);
|
||||
});
|
||||
@@ -240,7 +240,7 @@ describe("connection tests", function () {
|
||||
|
||||
it("connects with a port only", function (done) {
|
||||
client = redis.createClient(6379);
|
||||
assert.strictEqual(client.connection_option.family, 4);
|
||||
assert.strictEqual(client.connection_options.family, 4);
|
||||
client.on("error", done);
|
||||
|
||||
client.once("ready", function () {
|
||||
|
Reference in New Issue
Block a user