You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
Add hiredis guard to INCR test
Signed-off-by: DTrejo <david.daniel.trejo@gmail.com>
This commit is contained in:
5
test.js
5
test.js
@@ -127,6 +127,11 @@ tests.FLUSHDB = function () {
|
|||||||
tests.INCR = function () {
|
tests.INCR = function () {
|
||||||
var name = "INCR";
|
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
|
// Test incr with the maximum JavaScript number value. Since we are
|
||||||
// returning buffers we should get back one more as a Buffer.
|
// returning buffers we should get back one more as a Buffer.
|
||||||
bclient.set("seq", "9007199254740992", function (err, result) {
|
bclient.set("seq", "9007199254740992", function (err, result) {
|
||||||
|
Reference in New Issue
Block a user