1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

Update currently failing test case due to Redis bug.

This commit is contained in:
Matt Ranney
2010-09-22 11:37:01 -07:00
parent 0aa7676eab
commit e16ead396e

View File

@@ -1,5 +1,17 @@
var redis = require("./index"),
client = redis.createClient();
// This currently doesn't work, due to what I beleive to be a bug in redis 2.0.1.
// INFO and QUIT are pipelined together, and the socket closes before the INFO
// command gets a reply.
redis.debug_mode = true;
client.info(redis.print);
client.quit();
// A workaround is:
// client.info(function (err, res) {
// console.log(res.toString());
// client.quit();
// });