You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Use process.nextTick to uncork
This commit is contained in:
@@ -1112,7 +1112,9 @@ describe('The node_redis client', function () {
|
||||
}
|
||||
multi.exec();
|
||||
assert.equal(client.command_queue_length, 15);
|
||||
helper.killConnection(client);
|
||||
process.nextTick(function () {
|
||||
helper.killConnection(client);
|
||||
});
|
||||
});
|
||||
|
||||
var end = helper.callFuncAfter(done, 3);
|
||||
@@ -1203,7 +1205,9 @@ describe('The node_redis client', function () {
|
||||
}
|
||||
multi.exec();
|
||||
assert.equal(client.command_queue.length, 15);
|
||||
helper.killConnection(client);
|
||||
process.nextTick(function () {
|
||||
helper.killConnection(client);
|
||||
});
|
||||
});
|
||||
|
||||
var end = helper.callFuncAfter(done, 3);
|
||||
|
Reference in New Issue
Block a user