TAP version 13 not ok 1 - redis v2.8.0 The canary is dead: ---
# undefinedadded 425 packages from 581 contributors and audited 853 packages in 40.03s
# found 22 vulnerabilities (16 low, 5 moderate, 1 critical)
# run `npm audit fix` to fix them, or `npm audit` for details
# > redis@2.8.0 test /tmp/50ce93e1-ebe0-4ef2-abea-a9f4bd9b3488/redis
# > nyc --cache mocha ./test/*.js ./test/commands/*.js --timeout=8000
# client authentication
# using options: detect_buffers: true;
# using javascript and IPv4
# - allows auth to be provided with 'auth' method
# - support redis 2.4 with retrying auth commands if still loading
# - emits error when auth is bad without callback
# - returns an error when auth is bad (empty string) with a callback
# - allows auth to be provided as part of redis url and do not fire commands before auth is done
# - allows auth and database to be provided as part of redis url query parameter
# - allows auth to be provided as config option for client
# - allows auth and no_ready_check to be provided as config option for client
# - allows auth to be provided post-hoc with auth method
# - reconnects with appropriate authentication while offline commands are present
# - should return an error if the password is not correct and a callback has been provided
# - should emit an error if the password is not correct and no callback has been provided
# - allows auth to be provided post-hoc with auth method again
# - does not allow any commands to be processed if not authenticated using no_ready_check true
# - does not allow auth to be provided post-hoc with auth method if not authenticated before
# - should emit an error if the provided password is faulty
# - pubsub working with auth
# 1) individual commands work properly with batch
# using javascript and IPv6
# - allows auth to be provided with 'auth' method
# - support redis 2.4 with retrying auth commands if still loading
# - emits error when auth is bad without callback
# - returns an error when auth is bad (empty string) with a callback
# - allows auth to be provided as config option for client
# - allows auth and no_ready_check to be provided as config option for client
# - allows auth to be provided post-hoc with auth method
# - reconnects with appropriate authentication while offline commands are present
# - should return an error if the password is not correct and a callback has been provided
# - should emit an error if the password is not correct and no callback has been provided
# - allows auth to be provided post-hoc with auth method again
# - does not allow any commands to be processed if not authenticated using no_ready_check true
# - does not allow auth to be provided post-hoc with auth method if not authenticated before
# - should emit an error if the provided password is faulty
# - pubsub working with auth
# 2) individual commands work properly with batch
# using javascript and /tmp/redis.sock
# - allows auth to be provided with 'auth' method
# - support redis 2.4 with retrying auth commands if still loading
# - emits error when auth is bad without callback
# - returns an error when auth is bad (empty string) with a callback
# - allows auth to be provided as config option for client
# - allows auth and no_ready_check to be provided as config option for client
# - allows auth to be provided post-hoc with auth method
# - reconnects with appropriate authentication while offline commands are present
# - should return an error if the password is not correct and a callback has been provided
# - should emit an error if the password is not correct and no callback has been provided
# - allows auth to be provided post-hoc with auth method again
# - does not allow any commands to be processed if not authenticated using no_ready_check true
# - does not allow auth to be provided post-hoc with auth method if not authenticated before
# - should emit an error if the provided password is faulty
# - pubsub working with auth
# 3) individual commands work properly with batch
# using options: detect_buffers: false;
# using javascript and IPv4
# - allows auth to be provided with 'auth' method
# - support redis 2.4 with retrying auth commands if still loading
# - emits error when auth is bad without callback
# - returns an error when auth is bad (empty string) with a callback
# - allows auth to be provided as part of redis url and do not fire commands before auth is done
# - allows auth and database to be provided as part of redis url query parameter
# - allows auth to be provided as config option for client
# - allows auth and no_ready_check to be provided as config option for client
# - allows auth to be provided post-hoc with auth method
# - reconnects with appropriate authentication while offline commands are present
# - should return an error if the password is not correct and a callback has been provided
# - should emit an error if the password is not correct and no callback has been provided
# - allows auth to be provided post-hoc with auth method again
# - does not allow any commands to be processed if not authenticated using no_ready_check true
# - does not allow auth to be provided post-hoc with auth method if not authenticated before
# - should emit an error if the provided password is faulty
# - pubsub working with auth
# 4) individual commands work properly with batch
# using javascript and IPv6
# - allows auth to be provided with 'auth' method
# - support redis 2.4 with retrying auth commands if still loading
# - emits error when auth is bad without callback
# - returns an error when auth is bad (empty string) with a callback
# - allows auth to be provided as config option for client
# - allows auth and no_ready_check to be provided as config option for client
# - allows auth to be provided post-hoc with auth method
# - reconnects with appropriate authentication while offline commands are present
# - should return an error if the password is not correct and a callback has been provided
# - should emit an error if the password is not correct and no callback has been provided
# - allows auth to be provided post-hoc with auth method again
# - does not allow any commands to be processed if not authenticated using no_ready_check true
# - does not allow auth to be provided post-hoc with auth method if not authenticated before
# - should emit an error if the provided password is faulty
# - pubsub working with auth
# 5) individual commands work properly with batch
# using javascript and /tmp/redis.sock
# - allows auth to be provided with 'auth' method
# - support redis 2.4 with retrying auth commands if still loading
# - emits error when auth is bad without callback
# - returns an error when auth is bad (empty string) with a callback
# - allows auth to be provided as config option for client
# - allows auth and no_ready_check to be provided as config option for client
# - allows auth to be provided post-hoc with auth method
# - reconnects with appropriate authentication while offline commands are present
# - should return an error if the password is not correct and a callback has been provided
# - should emit an error if the password is not correct and no callback has been provided
# - allows auth to be provided post-hoc with auth method again
# - does not allow any commands to be processed if not authenticated using no_ready_check true
# - does not allow auth to be provided post-hoc with auth method if not authenticated before
# - should emit an error if the provided password is faulty
# - pubsub working with auth
# 6) individual commands work properly with batch
# The 'batch' method
# using options: detect_buffers: true;
# using javascript and IPv4
# when not connected
# returns an empty array for missing commands
# returns an error for batch with commands
# returns an empty array for missing commands if promisified
# when connected
# returns an empty array and keep the execution order in takt
# 7) runs normal calls inbetween batch
# returns an empty array if promisified
# returns an empty result array
# 8) fail individually when one command fails using chaining notation
# 9) "after each" hook for "fail individually when one command fails using chaining notation"
# using options: detect_buffers: false;
# using javascript and IPv4
# when not connected
# returns an empty array for missing commands
# returns an error for batch with commands
# returns an empty array for missing commands if promisified
# when connected
# returns an empty array and keep the execution order in takt
# 10) runs normal calls inbetween batch
# returns an empty array if promisified
# returns an empty result array
# 11) fail individually when one command fails using chaining notation
# 12) "after each" hook for "fail individually when one command fails using chaining notation"
# master slave sync
# - sync process and no master should delay ready being emitted for slaves
# connection tests
# unofficially support for a private stream
# quit on lost connections
# calling quit while the connection is down should not end in reconnecting version a
# calling quit while the connection is down should not end in reconnecting version b
# calling quit while the connection is down without offline queue should end the connection right away
# 13) calling quit while connected without offline queue should end the connection when all commands have finished
# 14) do not quit before connected or a connection issue is detected
# do not quit before connected or a connection issue is detected
# 15) quit right away if connection drops while quit command is on the fly
# quit right away if connection drops while quit command is on the fly
# quit right away if connection drops while quit command is on the fly
# using options: detect_buffers: true;
# using options: detect_buffers: false;
# using javascript and IPv4
# using javascript and IPv4
# errors
# on lost connection
# on lost connection
# AbortError
# should inherit from Error
# should inherit from Error
# should list options properties but not name and message
# should list options properties but not name and message
# should list options properties but not name and message
# should change name and message
# should change name and message
# AggregateError
# should inherit from Error and AbortError
# should inherit from Error and AbortError
# should list options properties but not name and message
# should list options properties but not name and message
# should change name and message
# should change name and message
# detect_buffers
# get
# first argument is a string
# 16) "before each" hook
# 17) returns a string
# 18) "before each" hook
# 19) returns a string when executed as part of transaction
# first argument is a buffer
# 20) "before each" hook
# 21) returns a buffer
# 22) "before each" hook
# 23) returns a bufffer when executed as part of transaction
# multi.hget
# 24) "before each" hook
# can interleave string and buffer results
# batch.hget
# 25) "before each" hook
# can interleave string and buffer results
# hmget
# first argument is a string
# 26) "before each" hook
# returns strings for keys requested
# 27) "before each" hook
# returns strings for keys requested in transaction
# 28) "before each" hook
# handles array of strings with undefined values (repro
#344)
# 29) "before each" hook
# handles array of strings with undefined values in transaction (repro
#344)
# first argument is a buffer
# 30) "before each" hook
# returns buffers for keys requested
# 31) "before each" hook
# returns buffers for keys requested in transaction
# 32) "before each" hook
# returns buffers for keys requested in .batch
# hgetall
# first argument is a string
# 33) "before each" hook
# returns string values
# 34) "before each" hook
# returns string values when executed in transaction
# 35) "before each" hook
# returns string values when executed in .batch
# first argument is a buffer
# 36) "before each" hook
# returns buffer values
# 37) "before each" hook
# returns buffer values when executed in transaction
# 38) "before each" hook
# returns buffer values when executed in .batch
# stack traces
# should return good traces with NODE_ENV=development set (418ms)
# should return good traces with NODE_DEBUG=redis env set (425ms)
# should always return good stack traces for rejected offline commands
# The 'multi' method
# regression test
# saved buffers with charsets different than utf-8 (issue
#913) (506ms)
# pipeline limit
# 39) do not exceed maximum string size
# 40) do not exceed maximum string size
# using options: detect_buffers: true;
# using options: detect_buffers: false;
# using javascript and IPv4
# using javascript and IPv4
# when not connected
# when not connected
# reports an error
# reports an error if promisified
# 41) "after each" hook for "reports an error if promisified"
# The node_redis client
# individual commands sanity check
# convert minus to underscore in Redis function names
# reset the parser while reconnecting (See
#1190)
# The 'add_command' method
# camel case and snakeCase version exists
# converts special characters in functions names to lowercase
# using options: detect_buffers: true;
# using javascript and IPv4
# when connected
# duplicate
# check if all options got copied properly
# check if all new options replaced the old ones
# works with a callback
# works with a callback and errors out
# works with a promises
# works with a promises and errors
# big data
# 42) safe strings that are bigger than 30000 characters
# 43) "after each" hook for "safe strings that are bigger than 30000 characters"
# using options: detect_buffers: false;
# using javascript and IPv4
# when connected
# duplicate
# check if all options got copied properly
# check if all new options replaced the old ones
# works with a callback
# works with a callback and errors out
# works with a promises
# works with a promises and errors
# big data
# 44) safe strings that are bigger than 30000 characters
# 45) "after each" hook for "safe strings that are bigger than 30000 characters"
# prefix key names
# using options: detect_buffers: true;
# using javascript and IPv4
# 46) auto prefix set / get
# 47) "after each" hook for "auto prefix set / get"
# using options: detect_buffers: false;
# using javascript and IPv4
# 48) auto prefix set / get
# 49) "after each" hook for "auto prefix set / get"
# publish/subscribe
# using options: detect_buffers: true;
# using javascript and IPv4
# should not publish a message multiple times per command (132ms)
# 50) should not publish a message without any publish command
# arguments variants
# disable resubscribe
# does not fire subscribe events after reconnecting (202ms)
# string_numbers and pub sub
# 51) does not fire subscribe events after reconnecting
# subscribe
# fires a subscribe event for each channel subscribed to even after reconnecting (203ms)
# fires a subscribe event for each channel as buffer subscribed to even after reconnecting (203ms)
# receives messages on subscribed channel
# receives messages if subscribe is called after unsubscribe
# handles SUB_UNSUB_MSG_SUB
# handles SUB_UNSUB_MSG_SUB 2
# emits end event if quit is called from within subscribe
# subscribe; close; resubscribe with prototype inherited property names (404ms)
# multiple subscribe / unsubscribe commands
# 52) reconnects properly with pub sub and select command
# 53) should not go into pubsub mode with unsubscribe commands
# should not go into pubsub mode with unsubscribe commands
# should only resubscribe to channels not unsubscribed earlier on a reconnect (203ms)
# should only resubscribe to channels not unsubscribed earlier on a reconnect (203ms)
# unsubscribes, subscribes, unsubscribes... single and multiple entries mixed. Without callbacks
# unsubscribes, subscribes, unsubscribes... single and multiple entries mixed. Without callbacks
# 54) unsubscribes, subscribes, unsubscribes... with pattern matching
# unsubscribe
# fires an unsubscribe event
# puts client back into write mode
# does not complain when unsubscribe is called and there are no subscriptions
# executes callback when unsubscribe is called and there are no subscriptions
# psubscribe
# allows all channels to be subscribed to using a * pattern
# 55) allows to listen to pmessageBuffer and pmessage
# punsubscribe
# does not complain when punsubscribe is called and there are no subscriptions
# executes callback when punsubscribe is called and there are no subscriptions
# fail for other commands while in pub sub mode
# 56) return error if only pub sub commands are allowed
# return error if only pub sub commands are allowed
# using options: detect_buffers: false;
# 57) "before each" hook
# using javascript and IPv4
# should not publish a message multiple times per command (130ms)
# 58) should not publish a message without any publish command
# arguments variants
# disable resubscribe
# does not fire subscribe events after reconnecting (202ms)
# string_numbers and pub sub
# 59) does not fire subscribe events after reconnecting
# subscribe
# fires a subscribe event for each channel subscribed to even after reconnecting (201ms)
# fires a subscribe event for each channel as buffer subscribed to even after reconnecting (202ms)
# receives messages on subscribed channel
# receives messages if subscribe is called after unsubscribe
# handles SUB_UNSUB_MSG_SUB
# handles SUB_UNSUB_MSG_SUB 2
# emits end event if quit is called from within subscribe
# subscribe; close; resubscribe with prototype inherited property names (402ms)
# multiple subscribe / unsubscribe commands
# 60) reconnects properly with pub sub and select command
# 61) should not go into pubsub mode with unsubscribe commands
# should not go into pubsub mode with unsubscribe commands
# should only resubscribe to channels not unsubscribed earlier on a reconnect (202ms)
# should only resubscribe to channels not unsubscribed earlier on a reconnect (202ms)
# unsubscribes, subscribes, unsubscribes... single and multiple entries mixed. Without callbacks
# unsubscribes, subscribes, unsubscribes... single and multiple entries mixed. Without callbacks
# 62) unsubscribes, subscribes, unsubscribes... with pattern matching
# unsubscribe
# fires an unsubscribe event
# puts client back into write mode
# does not complain when unsubscribe is called and there are no subscriptions
# executes callback when unsubscribe is called and there are no subscriptions
# psubscribe
# allows all channels to be subscribed to using a * pattern
# 63) allows to listen to pmessageBuffer and pmessage
# punsubscribe
# does not complain when punsubscribe is called and there are no subscriptions
# executes callback when punsubscribe is called and there are no subscriptions
# fail for other commands while in pub sub mode
# 64) return error if only pub sub commands are allowed
# return error if only pub sub commands are allowed
# 65) "before each" hook
# rename commands
# using options: detect_buffers: true;
# using javascript and IPv4
# - allows to use renamed functions
# - should also work with batch
# - should also work with multi
# - should also work with multi and abort transaction
# - should also work prefixed commands
# using options: detect_buffers: false;
# using javascript and IPv4
# - allows to use renamed functions
# - should also work with batch
# - should also work with multi
# - should also work with multi and abort transaction
# - should also work prefixed commands
# return_buffers
# using options: detect_buffers: true;
# using javascript and IPv4
# get
# first argument is a string
# 66) "before each" hook
# 67) returns a buffer
# 68) "before each" hook
# 69) returns a bufffer when executed as part of transaction
# multi.hget
# 70) "before each" hook
# returns buffers
# batch.hget
# 71) "before each" hook
# returns buffers
# hmget
# first argument is a string
# 72) "before each" hook
# handles array of strings with undefined values in transaction (repro
#344)
# first argument is a buffer
# 73) "before each" hook
# returns buffers for keys requested
# 74) "before each" hook
# returns buffers for keys requested in transaction
# 75) "before each" hook
# returns buffers for keys requested in .batch
# hgetall
# first argument is a string
# 76) "before each" hook
# returns buffer values
# 77) "before each" hook
# returns buffer values when executed in transaction
# 78) "before each" hook
# returns buffer values when executed in .batch
# first argument is a buffer
# 79) "before each" hook
# returns buffer values
# 80) "before each" hook
# returns buffer values when executed in transaction
# 81) "before each" hook
# returns buffer values when executed in .batch
# publish/subscribe
# 82) "before each" hook
# receives buffer messages
# using options: detect_buffers: false;
# using javascript and IPv4
# get
# first argument is a string
# 83) "before each" hook
# 84) returns a buffer
# 85) "before each" hook
# 86) returns a bufffer when executed as part of transaction
# multi.hget
# 87) "before each" hook
# returns buffers
# batch.hget
# 88) "before each" hook
# returns buffers
# hmget
# first argument is a string
# 89) "before each" hook
# handles array of strings with undefined values in transaction (repro
#344)
# first argument is a buffer
# 90) "before each" hook
# returns buffers for keys requested
# 91) "before each" hook
# returns buffers for keys requested in transaction
# 92) "before each" hook
# returns buffers for keys requested in .batch
# hgetall
# first argument is a string
# 93) "before each" hook
# returns buffer values
# 94) "before each" hook
# returns buffer values when executed in transaction
# 95) "before each" hook
# returns buffer values when executed in .batch
# first argument is a buffer
# 96) "before each" hook
# returns buffer values
# 97) "before each" hook
# returns buffer values when executed in transaction
# 98) "before each" hook
# returns buffer values when executed in .batch
# publish/subscribe
# 99) "before each" hook
# receives buffer messages
# TLS connection tests
# 100) "before all" hook
# createClient options
# port as first parameter
# pass the options in the second parameter after a port
# pass the options in the third parameter after a port and host being set to null
# pass the options in the third parameter after a port and host being set to undefined
# pass the options in the third parameter after a port and host
# should throw with three parameters all set to a truthy value
# unix socket as first parameter
# pass the options in the second parameter after a port
# pass the options in the third parameter after a port and host being set to null
# redis url as first parameter
# empty redis url including options as second parameter
# begin with two slashes including options as third parameter
# duplicated, identical query options including options obj
# should throw on duplicated, non-identical query options
# should throw without protocol slashes
# warns on protocol other than redis in the redis url
# no parameters or set to null / undefined
# no parameters
# set to null
# set to undefined
# only an options object is passed
# with options
# without options
# should throw with more parameters
# including url as option
# faulty data
# throws on strange connection info
# utils.js
# clone
# ignore the object prototype and clone a nested array / object
# replace falsy values with an empty object as return value
# transform camelCase options to snake_case and add the camel_case option
# throws on circular data
# print helper
# callback with reply
# callback with error
# reply_in_order
# no elements in either queue. Reply in the next tick with callback
# no elements in either queue. Reply in the next tick without callback
# elements in the offline queue. Reply after the offline queue is empty and respect the command_obj callback
# elements in the offline queue. Reply after the offline queue is empty and respect the command_obj error emit
# elements in the offline queue and the command_queue. Reply all other commands got handled respect the command_obj
# The 'blpop' method
# using options: detect_buffers: true;
# using javascript and IPv4
# pops value immediately if list contains values
# pops value immediately if list contains values using array notation
# waits for value if list is not yet populated
# times out after specified time (1044ms)
# using options: detect_buffers: false;
# using javascript and IPv4
# pops value immediately if list contains values
# pops value immediately if list contains values using array notation
# waits for value if list is not yet populated
# times out after specified time (1065ms)
# The 'client' method
# using options: detect_buffers: true;
# using javascript and IPv4
# list
# lists connected clients
# lists connected clients when invoked with multi's chaining syntax
# lists connected clients when invoked with array syntax on client
# lists connected clients when invoked with multi's array syntax
# reply
# as normal command
# - on
# - off
# - skip
# in a batch context
# - on
# - off
# - skip
# setname / getname
# sets the name
# using options: detect_buffers: false;
# using javascript and IPv4
# list
# lists connected clients
# lists connected clients when invoked with multi's chaining syntax
# lists connected clients when invoked with array syntax on client
# lists connected clients when invoked with multi's array syntax
# reply
# as normal command
# - on
# - off
# - skip
# in a batch context
# - on
# - off
# - skip
# setname / getname
# sets the name
# The 'dbsize' method
# using options: detect_buffers: true;
# using javascript and IPv4
# when not connected
# reports an error
# when connected
# returns a zero db size
# when more data is added to Redis
# 101) "before each" hook
# using options: detect_buffers: false;
# using javascript and IPv4
# when not connected
# reports an error
# when connected
# returns a zero db size
# when more data is added to Redis
# 102) "before each" hook
# The 'del' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 103) allows a single key to be deleted
# 104) "after each" hook for "allows a single key to be deleted"
# using options: detect_buffers: false;
# using javascript and IPv4
# 105) allows a single key to be deleted
# 106) "after each" hook for "allows a single key to be deleted"
# The 'eval' method
# using options: detect_buffers: true;
# using javascript and IPv4
# converts a float to an integer when evaluated
# returns a string
# converts boolean true to integer 1
# converts boolean false to null
# converts lua status code to string representation
# converts lua error to an error response
# represents a lua table appropritely
# populates keys and argv correctly
# allows arguments to be provided in array rather than as multiple parameters
# 107) allows a script to be executed that accesses the redis API without callback
# 108) "after each" hook for "allows a script to be executed that accesses the redis API without callback"
# using options: detect_buffers: false;
# using javascript and IPv4
# converts a float to an integer when evaluated
# returns a string
# converts boolean true to integer 1
# converts boolean false to null
# converts lua status code to string representation
# converts lua error to an error response
# represents a lua table appropritely
# populates keys and argv correctly
# allows arguments to be provided in array rather than as multiple parameters
# 109) allows a script to be executed that accesses the redis API without callback
# 110) "after each" hook for "allows a script to be executed that accesses the redis API without callback"
# The 'exists' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 111) returns 1 if the key exists
# 112) "after each" hook for "returns 1 if the key exists"
# using options: detect_buffers: false;
# using javascript and IPv4
# 113) returns 1 if the key exists
# 114) "after each" hook for "returns 1 if the key exists"
# The 'expire' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 115) expires key after timeout
# 116) "after each" hook for "expires key after timeout"
# using options: detect_buffers: false;
# using javascript and IPv4
# 117) expires key after timeout
# 118) "after each" hook for "expires key after timeout"
# The 'flushdb' method
# using options: detect_buffers: true;
# using javascript and IPv4
# when not connected
# reports an error
# when connected
# when there is data in Redis
# deletes all the keys
# results in a db size of zero
# results in a db size of zero without a callback
# using options: detect_buffers: false;
# using javascript and IPv4
# when not connected
# reports an error
# when connected
# when there is data in Redis
# deletes all the keys
# results in a db size of zero
# results in a db size of zero without a callback
# The 'geoadd' method
# using options: detect_buffers: true;
# using javascript and IPv4
# - returns 1 if the key exists
# using options: detect_buffers: false;
# using javascript and IPv4
# - returns 1 if the key exists
# The 'get' method
# using options: detect_buffers: true;
# using javascript and IPv4
# when not connected
# reports an error
# reports an error promisified
# when connected
# when the key exists in Redis
# 119) "before each" hook
# when the key does not exist in Redis
# 120) gets a null value
# using options: detect_buffers: false;
# using javascript and IPv4
# when not connected
# reports an error
# reports an error promisified
# when connected
# when the key exists in Redis
# 121) "before each" hook
# when the key does not exist in Redis
# 122) gets a null value
# The 'getset' method
# using options: detect_buffers: true;
# using javascript and IPv4
# when not connected
# reports an error
# when connected
# when the key exists in Redis
# 123) "before each" hook
# when the key does not exist in Redis
# gets a null value
# using options: detect_buffers: false;
# using javascript and IPv4
# when not connected
# reports an error
# when connected
# when the key exists in Redis
# 124) "before each" hook
# when the key does not exist in Redis
# gets a null value
# The 'hgetall' method
# using options: detect_buffers: true;
# using javascript and IPv4
# regular client
# handles simple keys and values
# handles fetching keys set using an object
# handles fetching a messing key
# binary client
# returns binary results
# using options: detect_buffers: false;
# using javascript and IPv4
# regular client
# handles simple keys and values
# handles fetching keys set using an object
# handles fetching a messing key
# binary client
# returns binary results
# The 'hincrby' method
# using options: detect_buffers: true;
# using javascript and IPv4
# increments a key that has already been set
# increments a key that has not been set
# using options: detect_buffers: false;
# using javascript and IPv4
# increments a key that has already been set
# increments a key that has not been set
# The 'hlen' method
# using options: detect_buffers: true;
# using javascript and IPv4
# reports the count of keys
# using options: detect_buffers: false;
# using javascript and IPv4
# reports the count of keys
# The 'hmget' method
# using options: detect_buffers: true;
# using javascript and IPv4
# allows keys to be specified using multiple arguments
# allows keys to be specified by passing an array without manipulating the array
# allows keys to be specified by passing an array as first argument
# allows a single key to be specified in an array
# allows keys to be specified that have not yet been set
# using options: detect_buffers: false;
# using javascript and IPv4
# allows keys to be specified using multiple arguments
# allows keys to be specified by passing an array without manipulating the array
# allows keys to be specified by passing an array as first argument
# allows a single key to be specified in an array
# allows keys to be specified that have not yet been set
# The 'hmset' method
# using options: detect_buffers: true;
# using javascript and IPv4
# handles redis-style syntax
# handles object-style syntax
# handles object-style syntax and the key being a number
# allows a numeric key
# allows a numeric key without callback
# allows an array without callback
# allows an array and a callback
# allows a key plus array without callback
# allows a key plus array and a callback
# handles object-style syntax without callback
# using options: detect_buffers: false;
# using javascript and IPv4
# handles redis-style syntax
# handles object-style syntax
# handles object-style syntax and the key being a number
# allows a numeric key
# allows a numeric key without callback
# allows an array without callback
# allows an array and a callback
# allows a key plus array without callback
# allows a key plus array and a callback
# handles object-style syntax without callback
# The 'hset' method
# using options: detect_buffers: true;
# using javascript and IPv4
# allows a value to be set in a hash
# handles an empty value
# handles empty key and value
# warns if someone passed a array either as field or as value
# does not error when a buffer and date are set as values on the same hash
# does not error when a buffer and date are set as fields on the same hash
# using options: detect_buffers: false;
# using javascript and IPv4
# allows a value to be set in a hash
# handles an empty value
# handles empty key and value
# warns if someone passed a array either as field or as value
# does not error when a buffer and date are set as values on the same hash
# does not error when a buffer and date are set as fields on the same hash
# The 'incr' method
# using options: detect_buffers: true;
# using javascript and IPv4
# when connected and a value in Redis
# 125) count above the safe integers as numbers
# 126) "after each" hook for "count above the safe integers as numbers"
# using options: detect_buffers: false;
# using javascript and IPv4
# when connected and a value in Redis
# 127) count above the safe integers as numbers
# 128) "after each" hook for "count above the safe integers as numbers"
# The 'info' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 129) update serverInfo after a info command
# 130) "after each" hook for "update serverInfo after a info command"
# using options: detect_buffers: false;
# using javascript and IPv4
# 131) update serverInfo after a info command
# 132) "after each" hook for "update serverInfo after a info command"
# The 'keys' method
# using options: detect_buffers: true;
# using javascript and IPv4
# returns matching keys
# handles a large packet size
# handles an empty response
# using options: detect_buffers: false;
# using javascript and IPv4
# returns matching keys
# handles a large packet size
# handles an empty response
# The 'mget' method
# using options: detect_buffers: true;
# using javascript and IPv4
# handles fetching multiple keys in argument form
# 133) "before each" hook
# 134) "before each" hook for "handles fetching multiple keys via an array"
# using options: detect_buffers: false;
# using javascript and IPv4
# 135) "after each" hook
# The 'monitor' method
# using options: detect_buffers: true;
# 295 passing (10s)
# 119 pending
# 135 failing
# 1) client authentication using options: detect_buffers: true; using javascript and IPv4 individual commands work properly with batch:
# Uncaught AssertionError [ERR_ASSERTION]: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at batch_callback (lib/multi.js:12:150)
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 2) client authentication using options: detect_buffers: true; using javascript and IPv6 individual commands work properly with batch:
# Uncaught AssertionError [ERR_ASSERTION]: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at batch_callback (lib/multi.js:12:150)
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 3) client authentication using options: detect_buffers: true; using javascript and /tmp/redis.sock individual commands work properly with batch:
# Uncaught AssertionError [ERR_ASSERTION]: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at batch_callback (lib/multi.js:12:150)
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 4) client authentication using options: detect_buffers: false; using javascript and IPv4 individual commands work properly with batch:
# Uncaught AssertionError [ERR_ASSERTION]: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at batch_callback (lib/multi.js:12:150)
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 5) client authentication using options: detect_buffers: false; using javascript and IPv6 individual commands work properly with batch:
# Uncaught AssertionError [ERR_ASSERTION]: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at batch_callback (lib/multi.js:12:150)
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 6) client authentication using options: detect_buffers: false; using javascript and /tmp/redis.sock individual commands work properly with batch:
# Uncaught AssertionError [ERR_ASSERTION]: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at batch_callback (lib/multi.js:12:150)
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 7) The 'batch' method using options: detect_buffers: true; using javascript and IPv4 when connected runs normal calls inbetween batch:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 8) The 'batch' method using options: detect_buffers: true; using javascript and IPv4 when connected fail individually when one command fails using chaining notation:
# Uncaught AssertionError [ERR_ASSERTION]: expected null, got error: ReplyError: ERR unknown command 'get'
# at test/helper.js:84:20
# at batch_callback (lib/multi.js:12:150)
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 9) The 'batch' method using options: detect_buffers: true; using javascript and IPv4 when connected "after each" hook for "fail individually when one command fails using chaining notation":
# AssertionError [ERR_ASSERTION]: expected 22, got error: AbortError: Connection forcefully ended and command aborted. It might have been processed.
# at test/helper.js:63:20
# at Command.batch_callback [as callback] (lib/multi.js:12:150)
# at RedisClient.flush_and_error (index.js:51:995)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/batch.spec.js:64:28)
# 10) The 'batch' method using options: detect_buffers: false; using javascript and IPv4 when connected runs normal calls inbetween batch:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 11) The 'batch' method using options: detect_buffers: false; using javascript and IPv4 when connected fail individually when one command fails using chaining notation:
# Uncaught AssertionError [ERR_ASSERTION]: expected null, got error: ReplyError: ERR unknown command 'get'
# at test/helper.js:84:20
# at batch_callback (lib/multi.js:12:150)
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 12) The 'batch' method using options: detect_buffers: false; using javascript and IPv4 when connected "after each" hook for "fail individually when one command fails using chaining notation":
# AssertionError [ERR_ASSERTION]: expected 22, got error: AbortError: Connection forcefully ended and command aborted. It might have been processed.
# at test/helper.js:63:20
# at Command.batch_callback [as callback] (lib/multi.js:12:150)
# at RedisClient.flush_and_error (index.js:51:995)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/batch.spec.js:64:28)
# 13) connection tests quit on lost connections calling quit while connected without offline queue should end the connection when all commands have finished:
# Uncaught AssertionError [ERR_ASSERTION]: undefined === 'OK'
# at test/connection.spec.js:103:28
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 14) connection tests quit on lost connections do not quit before connected or a connection issue is detected:
# Uncaught AssertionError [ERR_ASSERTION]: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 15) connection tests quit on lost connections quit right away if connection drops while quit command is on the fly:
# Uncaught AssertionError [ERR_ASSERTION]: false === true
# + expected - actual
# -false
# +true
#
# at RedisClient. (test/connection.spec.js:141:24)
# at RedisClient.on_ready (index.js:61:748)
# at RedisClient.on_info_cmd (index.js:63:59)
# at index.js:64:145
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at Command.callback (lib/individualCommands.js:34:145)
# at normal_reply (index.js:73:1201)
# at RedisClient.return_reply (index.js:90:718)
# at JavascriptRedisParser.returnReply (index.js:26:1920)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:574:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 16) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 17) detect_buffers get first argument is a string returns a string:
# Uncaught AssertionError [ERR_ASSERTION]: expected string 'string value', got error: ReplyError: ERR unknown command 'get'
# at test/helper.js:73:20
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 18) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 19) detect_buffers get first argument is a string returns a string when executed as part of transaction:
# Uncaught TypeError: Cannot read property '0' of undefined
# at Multi.callback (test/detect_buffers.spec.js:39:67)
# at multi_callback (lib/multi.js:6:872)
# at lib/multi.js:11:212
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 20) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 21) detect_buffers get first argument is a buffer returns a buffer:
# Uncaught AssertionError [ERR_ASSERTION]: true === false
# + expected - actual
# -true
# +false
#
# at test/detect_buffers.spec.js:47:28
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 22) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 23) detect_buffers get first argument is a buffer returns a bufffer when executed as part of transaction:
# Uncaught TypeError: Cannot read property 'length' of undefined
# at Multi.callback (test/detect_buffers.spec.js:55:49)
# at multi_callback (lib/multi.js:6:872)
# at lib/multi.js:11:212
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 24) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 25) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 26) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 27) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 28) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 29) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 30) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 31) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 32) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 33) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 34) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 35) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 36) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 37) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 38) detect_buffers "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 39) The 'multi' method pipeline limit do not exceed maximum string size:
# AbortError: Connection forcefully ended and command aborted. It might have been processed.
# at RedisClient.flush_and_error (index.js:51:161)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/multi.spec.js:14:16)
# 40) The 'multi' method pipeline limit do not exceed maximum string size:
# AbortError: Connection forcefully ended and command aborted. It might have been processed.
# at RedisClient.flush_and_error (index.js:51:161)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/multi.spec.js:14:16)
# 41) The 'multi' method "after each" hook for "reports an error if promisified":
# AbortError: Ready check failed: Connection forcefully ended and command aborted. It might have been processed.
# at RedisClient.flush_and_error (index.js:51:161)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/multi.spec.js:14:16)
# 42) The node_redis client using options: detect_buffers: true; using javascript and IPv4 when connected big data safe strings that are bigger than 30000 characters:
# Uncaught ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 43) The node_redis client using options: detect_buffers: true; using javascript and IPv4 "after each" hook for "safe strings that are bigger than 30000 characters":
# AssertionError [ERR_ASSERTION]: undefined === 'foo _ bar foo _ bar foo _ bar foo _ bar foo _ bar foo _ bar foo _ bar foo _ bar foo _ bar foo _ bar foo _
# at Command.callback (test/node_redis.spec.js:187:36)
# at RedisClient.flush_and_error (index.js:51:995)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/node_redis.spec.js:86:24)
# 44) The node_redis client using options: detect_buffers: false; using javascript and IPv4 when connected big data safe strings that are bigger than 30000 characters:
# Uncaught ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 45) The node_redis client using options: detect_buffers: false; using javascript and IPv4 "after each" hook for "safe strings that are bigger than 30000 characters":
# AssertionError [ERR_ASSERTION]: undefined === 'foo _ bar foo _ bar foo _ bar foo _ bar foo _ bar foo _ bar foo _ bar foo _ bar foo _ bar foo _ bar foo _
# at Command.callback (test/node_redis.spec.js:187:36)
# at RedisClient.flush_and_error (index.js:51:995)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/node_redis.spec.js:86:24)
# 46) prefix key names using options: detect_buffers: true; using javascript and IPv4 auto prefix set / get:
# Uncaught AssertionError [ERR_ASSERTION]: undefined === 'OK'
# at test/prefix.spec.js:33:28
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 47) prefix key names using options: detect_buffers: true; using javascript and IPv4 "after each" hook for "auto prefix set / get":
# AssertionError [ERR_ASSERTION]: undefined === 'value'
# at Command.callback (test/prefix.spec.js:36:28)
# at RedisClient.flush_and_error (index.js:51:995)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/prefix.spec.js:28:24)
# 48) prefix key names using options: detect_buffers: false; using javascript and IPv4 auto prefix set / get:
# Uncaught AssertionError [ERR_ASSERTION]: undefined === 'OK'
# at test/prefix.spec.js:33:28
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 49) prefix key names using options: detect_buffers: false; using javascript and IPv4 "after each" hook for "auto prefix set / get":
# AssertionError [ERR_ASSERTION]: undefined === 'value'
# at Command.callback (test/prefix.spec.js:36:28)
# at RedisClient.flush_and_error (index.js:51:995)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/prefix.spec.js:28:24)
# 50) publish/subscribe using options: detect_buffers: true; using javascript and IPv4 should not publish a message without any publish command:
# Uncaught ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 51) publish/subscribe using options: detect_buffers: true; using javascript and IPv4 string_numbers and pub sub does not fire subscribe events after reconnecting:
# Uncaught AssertionError [ERR_ASSERTION]: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 52) publish/subscribe using options: detect_buffers: true; using javascript and IPv4 multiple subscribe / unsubscribe commands reconnects properly with pub sub and select command:
# Uncaught ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 53) publish/subscribe using options: detect_buffers: true; using javascript and IPv4 multiple subscribe / unsubscribe commands should not go into pubsub mode with unsubscribe commands:
# Uncaught ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 54) publish/subscribe using options: detect_buffers: true; using javascript and IPv4 multiple subscribe / unsubscribe commands unsubscribes, subscribes, unsubscribes... with pattern matching:
# Uncaught AssertionError [ERR_ASSERTION]: 1 === 2
# + expected - actual
# -1
# +2
#
# at RedisClient. (test/pubsub.spec.js:412:36)
# at subscribe_unsubscribe (index.js:78:6)
# at return_pub_sub (index.js:89:406)
# at RedisClient.return_reply (index.js:92:83)
# at JavascriptRedisParser.returnReply (index.js:26:1920)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:574:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 55) publish/subscribe using options: detect_buffers: true; using javascript and IPv4 psubscribe allows to listen to pmessageBuffer and pmessage:
# Uncaught ReplyError: ERR unknown command 'get'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 56) publish/subscribe using options: detect_buffers: true; using javascript and IPv4 fail for other commands while in pub sub mode return error if only pub sub commands are allowed:
# Uncaught AssertionError [ERR_ASSERTION]: false == true
# + expected - actual
# -false
# +true
#
# at test/pubsub.spec.js:592:25
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 57) publish/subscribe using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# TypeError: Cannot read property 'call' of undefined
#
# 58) publish/subscribe using options: detect_buffers: false; using javascript and IPv4 should not publish a message without any publish command:
# Uncaught ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 59) publish/subscribe using options: detect_buffers: false; using javascript and IPv4 string_numbers and pub sub does not fire subscribe events after reconnecting:
# Uncaught AssertionError [ERR_ASSERTION]: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 60) publish/subscribe using options: detect_buffers: false; using javascript and IPv4 multiple subscribe / unsubscribe commands reconnects properly with pub sub and select command:
# Uncaught ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 61) publish/subscribe using options: detect_buffers: false; using javascript and IPv4 multiple subscribe / unsubscribe commands should not go into pubsub mode with unsubscribe commands:
# Uncaught ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 62) publish/subscribe using options: detect_buffers: false; using javascript and IPv4 multiple subscribe / unsubscribe commands unsubscribes, subscribes, unsubscribes... with pattern matching:
# Uncaught AssertionError [ERR_ASSERTION]: 1 === 2
# + expected - actual
# -1
# +2
#
# at RedisClient. (test/pubsub.spec.js:412:36)
# at subscribe_unsubscribe (index.js:78:6)
# at return_pub_sub (index.js:89:406)
# at RedisClient.return_reply (index.js:92:83)
# at JavascriptRedisParser.returnReply (index.js:26:1920)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:574:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 63) publish/subscribe using options: detect_buffers: false; using javascript and IPv4 psubscribe allows to listen to pmessageBuffer and pmessage:
# Uncaught ReplyError: ERR unknown command 'get'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 64) publish/subscribe using options: detect_buffers: false; using javascript and IPv4 fail for other commands while in pub sub mode return error if only pub sub commands are allowed:
# Uncaught AssertionError [ERR_ASSERTION]: false == true
# + expected - actual
# -false
# +true
#
# at test/pubsub.spec.js:592:25
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 65) publish/subscribe using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# TypeError: Cannot read property 'call' of undefined
#
# 66) return_buffers using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 67) return_buffers using options: detect_buffers: true; using javascript and IPv4 get first argument is a string returns a buffer:
# Uncaught AssertionError [ERR_ASSERTION]: true === false
# + expected - actual
# -true
# +false
#
# at test/return_buffers.spec.js:47:36
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 68) return_buffers using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 69) return_buffers using options: detect_buffers: true; using javascript and IPv4 get first argument is a string returns a bufffer when executed as part of transaction:
# Uncaught TypeError: Cannot read property 'length' of undefined
# at Multi.callback (test/return_buffers.spec.js:55:57)
# at multi_callback (lib/multi.js:6:872)
# at lib/multi.js:11:212
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 70) return_buffers using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 71) return_buffers using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 72) return_buffers using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 73) return_buffers using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 74) return_buffers using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 75) return_buffers using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 76) return_buffers using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 77) return_buffers using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 78) return_buffers using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 79) return_buffers using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 80) return_buffers using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 81) return_buffers using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 82) return_buffers using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 83) return_buffers using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 84) return_buffers using options: detect_buffers: false; using javascript and IPv4 get first argument is a string returns a buffer:
# Uncaught AssertionError [ERR_ASSERTION]: true === false
# + expected - actual
# -true
# +false
#
# at test/return_buffers.spec.js:47:36
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 85) return_buffers using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 86) return_buffers using options: detect_buffers: false; using javascript and IPv4 get first argument is a string returns a bufffer when executed as part of transaction:
# Uncaught TypeError: Cannot read property 'length' of undefined
# at Multi.callback (test/return_buffers.spec.js:55:57)
# at multi_callback (lib/multi.js:6:872)
# at lib/multi.js:11:212
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 87) return_buffers using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 88) return_buffers using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 89) return_buffers using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 90) return_buffers using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 91) return_buffers using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 92) return_buffers using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 93) return_buffers using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 94) return_buffers using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 95) return_buffers using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 96) return_buffers using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 97) return_buffers using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 98) return_buffers using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 99) return_buffers using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 100) TLS connection tests "before all" hook:
# Error: spawn stunnel ENOENT
# at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
# at onErrorNT (internal/child_process.js:362:16)
# at _combinedTickCallback (internal/process/next_tick.js:139:11)
# at process._tickCallback (internal/process/next_tick.js:181:9)
# 101) The 'dbsize' method using options: detect_buffers: true; using javascript and IPv4 when connected when more data is added to Redis "before each" hook:
# Uncaught AssertionError [ERR_ASSERTION]: expected success, got an error: ReplyError: ERR unknown command 'set'
# at test/helper.js:106:20
# at test/commands/dbsize.spec.js:77:52
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 102) The 'dbsize' method using options: detect_buffers: false; using javascript and IPv4 when connected when more data is added to Redis "before each" hook:
# Uncaught AssertionError [ERR_ASSERTION]: expected success, got an error: ReplyError: ERR unknown command 'set'
# at test/helper.js:106:20
# at test/commands/dbsize.spec.js:77:52
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 103) The 'del' method using options: detect_buffers: true; using javascript and IPv4 allows a single key to be deleted:
# Uncaught ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 104) The 'del' method using options: detect_buffers: true; using javascript and IPv4 "after each" hook for "allows a single key to be deleted":
# AssertionError [ERR_ASSERTION]: expected 1, got error: AbortError: Connection forcefully ended and command aborted. It might have been processed.
# at Command.callback (test/helper.js:63:20)
# at RedisClient.flush_and_error (index.js:51:995)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/commands/del.spec.js:53:24)
# 105) The 'del' method using options: detect_buffers: false; using javascript and IPv4 allows a single key to be deleted:
# Uncaught ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 106) The 'del' method using options: detect_buffers: false; using javascript and IPv4 "after each" hook for "allows a single key to be deleted":
# AssertionError [ERR_ASSERTION]: expected 1, got error: AbortError: Connection forcefully ended and command aborted. It might have been processed.
# at Command.callback (test/helper.js:63:20)
# at RedisClient.flush_and_error (index.js:51:995)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/commands/del.spec.js:53:24)
# 107) The 'eval' method using options: detect_buffers: true; using javascript and IPv4 allows a script to be executed that accesses the redis API without callback:
# Uncaught ReplyError: ERR Error running script (call to f_a1a676a224648b1f39e316c6fb9ab0652919864c): @user_script:1: @user_script: 1: Unknown Redis command called from Lua script
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 108) The 'eval' method using options: detect_buffers: true; using javascript and IPv4 "after each" hook for "allows a script to be executed that accesses the redis API without callback":
# AssertionError [ERR_ASSERTION]: expected string 'test', got error: AbortError: Connection forcefully ended and command aborted. It might have been processed.
# at Command.callback (test/helper.js:73:20)
# at RedisClient.flush_and_error (index.js:51:995)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/commands/eval.spec.js:25:24)
# 109) The 'eval' method using options: detect_buffers: false; using javascript and IPv4 allows a script to be executed that accesses the redis API without callback:
# Uncaught ReplyError: ERR Error running script (call to f_a1a676a224648b1f39e316c6fb9ab0652919864c): @user_script:1: @user_script: 1: Unknown Redis command called from Lua script
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 110) The 'eval' method using options: detect_buffers: false; using javascript and IPv4 "after each" hook for "allows a script to be executed that accesses the redis API without callback":
# AssertionError [ERR_ASSERTION]: expected string 'test', got error: AbortError: Connection forcefully ended and command aborted. It might have been processed.
# at Command.callback (test/helper.js:73:20)
# at RedisClient.flush_and_error (index.js:51:995)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/commands/eval.spec.js:25:24)
# 111) The 'exists' method using options: detect_buffers: true; using javascript and IPv4 returns 1 if the key exists:
# Uncaught ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 112) The 'exists' method using options: detect_buffers: true; using javascript and IPv4 "after each" hook for "returns 1 if the key exists":
# AssertionError [ERR_ASSERTION]: expected 1, got error: AbortError: Connection forcefully ended and command aborted. It might have been processed.
# at Command.callback (test/helper.js:63:20)
# at RedisClient.flush_and_error (index.js:51:995)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/commands/exists.spec.js:36:24)
# 113) The 'exists' method using options: detect_buffers: false; using javascript and IPv4 returns 1 if the key exists:
# Uncaught ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 114) The 'exists' method using options: detect_buffers: false; using javascript and IPv4 "after each" hook for "returns 1 if the key exists":
# AssertionError [ERR_ASSERTION]: expected 1, got error: AbortError: Connection forcefully ended and command aborted. It might have been processed.
# at Command.callback (test/helper.js:63:20)
# at RedisClient.flush_and_error (index.js:51:995)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/commands/exists.spec.js:36:24)
# 115) The 'expire' method using options: detect_buffers: true; using javascript and IPv4 expires key after timeout:
# Uncaught AssertionError [ERR_ASSERTION]: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 116) The 'expire' method using options: detect_buffers: true; using javascript and IPv4 "after each" hook for "expires key after timeout":
# AssertionError [ERR_ASSERTION]: expected 1, got error: AbortError: Connection forcefully ended and command aborted. It might have been processed.
# at Command.callback (test/helper.js:63:20)
# at RedisClient.flush_and_error (index.js:51:995)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/commands/expire.spec.js:38:24)
# 117) The 'expire' method using options: detect_buffers: false; using javascript and IPv4 expires key after timeout:
# Uncaught AssertionError [ERR_ASSERTION]: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 118) The 'expire' method using options: detect_buffers: false; using javascript and IPv4 "after each" hook for "expires key after timeout":
# AssertionError [ERR_ASSERTION]: expected 1, got error: AbortError: Connection forcefully ended and command aborted. It might have been processed.
# at Command.callback (test/helper.js:63:20)
# at RedisClient.flush_and_error (index.js:51:995)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/commands/expire.spec.js:38:24)
# 119) The 'get' method using options: detect_buffers: true; using javascript and IPv4 when connected when the key exists in Redis "before each" hook:
# Uncaught AssertionError [ERR_ASSERTION]: expected success, got an error: ReplyError: ERR unknown command 'set'
# at test/helper.js:106:20
# at test/commands/get.spec.js:63:48
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 120) The 'get' method using options: detect_buffers: true; using javascript and IPv4 when connected when the key does not exist in Redis gets a null value:
# Uncaught AssertionError [ERR_ASSERTION]: expected null, got error: ReplyError: ERR unknown command 'get'
# at test/helper.js:84:20
# at test/commands/get.spec.js:87:44
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 121) The 'get' method using options: detect_buffers: false; using javascript and IPv4 when connected when the key exists in Redis "before each" hook:
# Uncaught AssertionError [ERR_ASSERTION]: expected success, got an error: ReplyError: ERR unknown command 'set'
# at test/helper.js:106:20
# at test/commands/get.spec.js:63:48
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 122) The 'get' method using options: detect_buffers: false; using javascript and IPv4 when connected when the key does not exist in Redis gets a null value:
# Uncaught AssertionError [ERR_ASSERTION]: expected null, got error: ReplyError: ERR unknown command 'get'
# at test/helper.js:84:20
# at test/commands/get.spec.js:87:44
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 123) The 'getset' method using options: detect_buffers: true; using javascript and IPv4 when connected when the key exists in Redis "before each" hook:
# Uncaught AssertionError [ERR_ASSERTION]: expected success, got an error: ReplyError: ERR unknown command 'set'
# at test/helper.js:106:20
# at test/commands/getset.spec.js:58:48
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 124) The 'getset' method using options: detect_buffers: false; using javascript and IPv4 when connected when the key exists in Redis "before each" hook:
# Uncaught AssertionError [ERR_ASSERTION]: expected success, got an error: ReplyError: ERR unknown command 'set'
# at test/helper.js:106:20
# at test/commands/getset.spec.js:58:48
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 125) The 'incr' method using options: detect_buffers: true; using javascript and IPv4 when connected and a value in Redis count above the safe integers as numbers:
# Uncaught AssertionError [ERR_ASSERTION]: expected success, got an error: ReplyError: ERR unknown command 'set'
# at test/helper.js:106:20
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 126) The 'incr' method using options: detect_buffers: true; using javascript and IPv4 when connected and a value in Redis "after each" hook for "count above the safe integers as numbers":
# AssertionError [ERR_ASSERTION]: expected 9007199254740992, got error: AbortError: Connection forcefully ended and command aborted. It might have been processed.
# at Command.callback (test/helper.js:63:20)
# at RedisClient.flush_and_error (index.js:51:995)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/commands/incr.spec.js:21:28)
# 127) The 'incr' method using options: detect_buffers: false; using javascript and IPv4 when connected and a value in Redis count above the safe integers as numbers:
# Uncaught AssertionError [ERR_ASSERTION]: expected success, got an error: ReplyError: ERR unknown command 'set'
# at test/helper.js:106:20
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:831)
# at RedisClient.return_error (index.js:73:166)
# at JavascriptRedisParser.returnError (index.js:27:6)
# at JavascriptRedisParser.execute (node_modules/redis-parser/lib/parser.js:572:12)
# at Socket. (index.js:42:43)
# at addChunk (_stream_readable.js:263:12)
# at readableAddChunk (_stream_readable.js:250:11)
# at Socket.Readable.push (_stream_readable.js:208:10)
# at TCP.onread (net.js:601:20)
# 128) The 'incr' method using options: detect_buffers: false; using javascript and IPv4 when connected and a value in Redis "after each" hook for "count above the safe integers as numbers":
# AssertionError [ERR_ASSERTION]: expected 9007199254740992, got error: AbortError: Connection forcefully ended and command aborted. It might have been processed.
# at Command.callback (test/helper.js:63:20)
# at RedisClient.flush_and_error (index.js:51:995)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/commands/incr.spec.js:21:28)
# 129) The 'info' method using options: detect_buffers: true; using javascript and IPv4 update serverInfo after a info command:
# Uncaught ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 130) The 'info' method using options: detect_buffers: true; using javascript and IPv4 "after each" hook for "update serverInfo after a info command":
# AbortError: Connection forcefully ended and command aborted. It might have been processed.
# at RedisClient.flush_and_error (index.js:51:161)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/commands/info.spec.js:23:24)
# 131) The 'info' method using options: detect_buffers: false; using javascript and IPv4 update serverInfo after a info command:
# Uncaught ReplyError: ERR unknown command 'set'
# at parseError (node_modules/redis-parser/lib/parser.js:193:12)
# at parseType (node_modules/redis-parser/lib/parser.js:303:14)
# 132) The 'info' method using options: detect_buffers: false; using javascript and IPv4 "after each" hook for "update serverInfo after a info command":
# AbortError: Connection forcefully ended and command aborted. It might have been processed.
# at RedisClient.flush_and_error (index.js:51:161)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/commands/info.spec.js:23:24)
# 133) The 'mget' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "handles fetching multiple keys via an array":
# AbortError: Ready check failed: Connection forcefully ended and command aborted. It might have been processed.
# at RedisClient.flush_and_error (index.js:51:161)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/commands/mget.spec.js:66:24)
# 134) The 'mget' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "handles fetching multiple keys via an array":
# AbortError: Ready check failed: Connection forcefully ended and command aborted. It might have been processed.
# at RedisClient.flush_and_error (index.js:51:161)
# at RedisClient.end (lib/extendedApi.js:13:65)
# at Context. (test/commands/mget.spec.js:66:24)
# 135) The 'mget' method using options: detect_buffers: true; using javascript and IPv4 "after each" hook:
# Uncaught AssertionError [ERR_ASSERTION]: 'undefined' === 'object'
# + expected - actual
# -undefined
# +object
#
# at Timeout._onTimeout (test/commands/info.spec.js:35:28)
# ------------------------|----------|----------|----------|----------|----------------|
# File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
# ------------------------|----------|----------|----------|----------|----------------|
# All files | 86.68 | 81.69 | 84.93 | 86.68 | |
# redis | 84.97 | 83.18 | 78.33 | 84.97 | |
# index.js | 84.97 | 83.18 | 78.33 | 84.97 |... 4,1060,1066 |
# redis/lib | 88.01 | 80.54 | 89.53 | 88.01 | |
# command.js | 100 | 100 | 100 | 100 | |
# commands.js | 84.06 | 76.19 | 80 | 84.06 |... 88,89,90,91 |
# createClient.js | 100 | 100 | 100 | 100 | |
# customErrors.js | 100 | 100 | 100 | 100 | |
# debug.js | 100 | 100 | 100 | 100 | |
# extendedApi.js | 60 | 20 | 50 | 60 |... 78,80,81,82 |
# individualCommands.js | 90.28 | 86.31 | 93.33 | 90.28 |... 388,456,457 |
# multi.js | 84.4 | 68.75 | 92.31 | 84.4 |... 5,98,99,100 |
# utils.js | 100 | 100 | 100 | 100 | |
# ------------------------|----------|----------|----------|----------|----------------|
# npm WARN deprecated win-spawn@2.0.0: use [cross-spawn](https://github.com/IndigoUnited/node-cross-spawn) or [cross-spawn-async](https://github.com/IndigoUnited/node-cross-spawn-async) instead.
# npm WARN deprecated hoek@2.16.3: The major version is no longer supported. Please update to 4.x or newer
# npm notice created a lockfile as package-lock.json. You should commit this file.
# (node:54210) Warning: process.on(SIGPROF) is reserved while debugging
# node_redis: Warning: Redis server does not require a password, but a password was supplied.
# node_redis: Warning: Redis server does not require a password, but a password was supplied.
# node_redis: Warning: Redis server does not require a password, but a password was supplied.
# node_redis: Warning: Redis server does not require a password, but a password was supplied.
# node_redis: Warning: Redis server does not require a password, but a password was supplied.
# node_redis: Warning: Redis server does not require a password, but a password was supplied.
# npm ERR! Test failed. See above for more details. duration_ms: 56457 ... 1..1