We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8308a3e commit 5fac595Copy full SHA for 5fac595
test/connection.spec.js
@@ -356,7 +356,7 @@ describe('connection tests', function () {
356
});
357
358
359
- it('use the system socket timeout if the connect_timeout has not been provided', function () {
+ it('use the system socket timeout if the connect_timeout has not been provided', function (done) {
360
client = redis.createClient({
361
parser: parser,
362
host: '2001:db8::ff00:42:8329' // auto detect ip v6
@@ -365,6 +365,7 @@ describe('connection tests', function () {
365
assert.strictEqual(client.connection_options.family, 6);
366
process.nextTick(function () {
367
assert.strictEqual(client.stream.listeners('timeout').length, 0);
368
+ done();
369
370
371
0 commit comments