From 87132e2b0351d0ac1342a41d1a3762ef59d4fb99 Mon Sep 17 00:00:00 2001 From: Bryce Baril Date: Sat, 23 Feb 2013 19:17:27 -0800 Subject: [PATCH] Add hiredis guard to INCR test Signed-off-by: DTrejo --- test.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test.js b/test.js index 05a09ef6c1..5d0d4a692f 100644 --- a/test.js +++ b/test.js @@ -127,6 +127,11 @@ tests.FLUSHDB = function () { tests.INCR = function () { var name = "INCR"; + if (bclient.reply_parser.name == "hiredis") { + console.log("Skipping INCR buffer test with hiredis"); + return next(name); + } + // Test incr with the maximum JavaScript number value. Since we are // returning buffers we should get back one more as a Buffer. bclient.set("seq", "9007199254740992", function (err, result) {