From e16ead396eeed397973b031cefff64861e699d9c Mon Sep 17 00:00:00 2001 From: Matt Ranney Date: Wed, 22 Sep 2010 11:37:01 -0700 Subject: [PATCH] Update currently failing test case due to Redis bug. --- test_start_stop.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test_start_stop.js b/test_start_stop.js index 2c084153b0..077089331f 100644 --- a/test_start_stop.js +++ b/test_start_stop.js @@ -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(); +// }); +