TAP version 13 not ok 1 - redis v2.8.0 The canary is dead: ---
# undefinedredis@2.8.0 /tmp/66750a5b-f6c7-426b-9463-15f19b086018/redis
# +-- bluebird@3.5.3
# +-- coveralls@2.13.3
# | +-- js-yaml@3.6.1
# | | +-- argparse@1.0.10
# | | | `-- sprintf-js@1.0.3
# | | `-- esprima@2.7.3
# | +-- lcov-parse@0.0.10
# | +-- log-driver@1.2.5
# | +-- minimist@1.2.0
# | `-- request@2.79.0
# | +-- aws-sign2@0.6.0
# | +-- aws4@1.8.0
# | +-- caseless@0.11.0
# | +-- combined-stream@1.0.7
# | | `-- delayed-stream@1.0.0
# | +-- extend@3.0.2
# | +-- forever-agent@0.6.1
# | +-- form-data@2.1.4
# | | `-- asynckit@0.4.0
# | +-- har-validator@2.0.6
# | | +-- commander@2.19.0
# | | +-- is-my-json-valid@2.19.0
# | | | +-- generate-function@2.3.1
# | | | | `-- is-property@1.0.2
# | | | +-- generate-object-property@1.2.0
# | | | +-- is-my-ip-valid@1.0.0
# | | | +-- jsonpointer@4.0.1
# | | | `-- xtend@4.0.1
# | | `-- pinkie-promise@2.0.1
# | | `-- pinkie@2.0.4
# | +-- hawk@3.1.3
# | | +-- boom@2.10.1
# | | +-- cryptiles@2.0.5
# | | +-- hoek@2.16.3
# | | `-- sntp@1.0.9
# | +-- http-signature@1.1.1
# | | +-- assert-plus@0.2.0
# | | +-- jsprim@1.4.1
# | | | +-- assert-plus@1.0.0
# | | | +-- extsprintf@1.3.0
# | | | +-- json-schema@0.2.3
# | | | `-- verror@1.10.0
# | | | `-- assert-plus@1.0.0
# | | `-- sshpk@1.16.0
# | | +-- asn1@0.2.4
# | | +-- assert-plus@1.0.0
# | | +-- bcrypt-pbkdf@1.0.2
# | | +-- dashdash@1.14.1
# | | | `-- assert-plus@1.0.0
# | | +-- ecc-jsbn@0.1.2
# | | +-- getpass@0.1.7
# | | | `-- assert-plus@1.0.0
# | | +-- jsbn@0.1.1
# | | +-- safer-buffer@2.1.2
# | | `-- tweetnacl@0.14.5
# | +-- is-typedarray@1.0.0
# | +-- isstream@0.1.2
# | +-- json-stringify-safe@5.0.1
# | +-- mime-types@2.1.21
# | | `-- mime-db@1.37.0
# | +-- oauth-sign@0.8.2
# | +-- qs@6.3.2
# | +-- stringstream@0.0.6
# | +-- tough-cookie@2.3.4
# | | `-- punycode@1.4.1
# | +-- tunnel-agent@0.4.3
# | `-- uuid@3.3.2
# +-- double-ended-queue@2.1.0-0
# +-- eslint@4.19.1
# | +-- ajv@5.5.2
# | | +-- co@4.6.0
# | | +-- fast-deep-equal@1.1.0
# | | +-- fast-json-stable-stringify@2.0.0
# | | `-- json-schema-traverse@0.3.1
# | +-- babel-code-frame@6.26.0
# | | +-- chalk@1.1.3
# | | | +-- ansi-styles@2.2.1
# | | | +-- has-ansi@2.0.0
# | | | | `-- ansi-regex@2.1.1
# | | | +-- strip-ansi@3.0.1
# | | | `-- supports-color@2.0.0
# | | `-- js-tokens@3.0.2
# | +-- chalk@2.4.2
# | | +-- ansi-styles@3.2.1
# | | | `-- color-convert@1.9.3
# | | | `-- color-name@1.1.3
# | | `-- supports-color@5.5.0
# | | `-- has-flag@3.0.0
# | +-- concat-stream@1.6.2
# | | +-- buffer-from@1.1.1
# | | +-- inherits@2.0.3
# | | +-- readable-stream@2.3.6
# | | | +-- core-util-is@1.0.2
# | | | +-- isarray@1.0.0
# | | | +-- process-nextick-args@2.0.0
# | | | +-- safe-buffer@5.1.2
# | | | +-- string_decoder@1.1.1
# | | | `-- util-deprecate@1.0.2
# | | `-- typedarray@0.0.6
# | +-- cross-spawn@5.1.0
# | | +-- lru-cache@4.1.5
# | | | +-- pseudomap@1.0.2
# | | | `-- yallist@2.1.2
# | | +-- shebang-command@1.2.0
# | | | `-- shebang-regex@1.0.0
# | | `-- which@1.3.1
# | | `-- isexe@2.0.0
# | +-- debug@3.2.6
# | | `-- ms@2.1.1
# | +-- doctrine@2.1.0
# | +-- eslint-scope@3.7.3
# | | +-- esrecurse@4.2.1
# | | `-- estraverse@4.2.0
# | +-- eslint-visitor-keys@1.0.0
# | +-- espree@3.5.4
# | | +-- acorn@5.7.3
# | | `-- acorn-jsx@3.0.1
# | | `-- acorn@3.3.0
# | +-- esquery@1.0.1
# | +-- esutils@2.0.2
# | +-- file-entry-cache@2.0.0
# | | +-- flat-cache@1.3.4
# | | | +-- circular-json@0.3.3
# | | | +-- graceful-fs@4.1.15
# | | | +-- rimraf@2.6.3
# | | | `-- write@0.2.1
# | | `-- object-assign@4.1.1
# | +-- functional-red-black-tree@1.0.1
# | +-- glob@7.1.3
# | | +-- fs.realpath@1.0.0
# | | +-- inflight@1.0.6
# | | | `-- wrappy@1.0.2
# | | +-- once@1.4.0
# | | `-- path-is-absolute@1.0.1
# | +-- globals@11.10.0
# | +-- ignore@3.3.10
# | +-- imurmurhash@0.1.4
# | +-- inquirer@3.3.0
# | | +-- ansi-escapes@3.1.0
# | | +-- chalk@2.4.2
# | | | +-- ansi-styles@3.2.1
# | | | `-- supports-color@5.5.0
# | | +-- cli-cursor@2.1.0
# | | | `-- restore-cursor@2.0.0
# | | | +-- onetime@2.0.1
# | | | | `-- mimic-fn@1.2.0
# | | | `-- signal-exit@3.0.2
# | | +-- cli-width@2.2.0
# | | +-- external-editor@2.2.0
# | | | +-- chardet@0.4.2
# | | | +-- iconv-lite@0.4.24
# | | | `-- tmp@0.0.33
# | | | `-- os-tmpdir@1.0.2
# | | +-- figures@2.0.0
# | | +-- mute-stream@0.0.7
# | | +-- run-async@2.3.0
# | | | `-- is-promise@2.1.0
# | | +-- rx-lite@4.0.8
# | | +-- rx-lite-aggregates@4.0.8
# | | +-- string-width@2.1.1
# | | | +-- is-fullwidth-code-point@2.0.0
# | | | `-- strip-ansi@4.0.0
# | | | `-- ansi-regex@3.0.0
# | | +-- strip-ansi@4.0.0
# | | | `-- ansi-regex@3.0.0
# | | `-- through@2.3.8
# | +-- is-resolvable@1.1.0
# | +-- js-yaml@3.12.1
# | | `-- esprima@4.0.1
# | +-- json-stable-stringify-without-jsonify@1.0.1
# | +-- levn@0.3.0
# | | +-- prelude-ls@1.1.2
# | | `-- type-check@0.3.2
# | +-- lodash@4.17.11
# | +-- minimatch@3.0.4
# | | `-- brace-expansion@1.1.11
# | | +-- balanced-match@1.0.0
# | | `-- concat-map@0.0.1
# | +-- mkdirp@0.5.1
# | | `-- minimist@0.0.8
# | +-- natural-compare@1.4.0
# | +-- optionator@0.8.2
# | | +-- deep-is@0.1.3
# | | +-- fast-levenshtein@2.0.6
# | | `-- wordwrap@1.0.0
# | +-- path-is-inside@1.0.2
# | +-- pluralize@7.0.0
# | +-- progress@2.0.3
# | +-- regexpp@1.1.0
# | +-- require-uncached@1.0.3
# | | +-- caller-path@0.1.0
# | | | `-- callsites@0.2.0
# | | `-- resolve-from@1.0.1
# | +-- semver@5.6.0
# | +-- strip-ansi@4.0.0
# | | `-- ansi-regex@3.0.0
# | +-- strip-json-comments@2.0.1
# | +-- table@4.0.2
# | | +-- ajv-keywords@2.1.1
# | | +-- chalk@2.4.2
# | | | +-- ansi-styles@3.2.1
# | | | `-- supports-color@5.5.0
# | | `-- slice-ansi@1.0.0
# | `-- text-table@0.2.0
# +-- intercept-stdout@0.1.2
# | `-- lodash.toarray@3.0.2
# | +-- lodash._arraycopy@3.0.0
# | +-- lodash._basevalues@3.0.0
# | `-- lodash.keys@3.1.2
# | +-- lodash._getnative@3.9.1
# | +-- lodash.isarguments@3.1.0
# | `-- lodash.isarray@3.0.4
# +-- metrics@0.1.21
# | `-- events@2.1.0
# +-- mocha@3.5.3
# | +-- browser-stdout@1.3.0
# | +-- commander@2.9.0
# | | `-- graceful-readlink@1.0.1
# | +-- debug@2.6.8
# | | `-- ms@2.0.0
# | +-- diff@3.2.0
# | +-- escape-string-regexp@1.0.5
# | +-- glob@7.1.1
# | +-- growl@1.9.2
# | +-- he@1.1.1
# | +-- json3@3.3.2
# | +-- lodash.create@3.1.1
# | | +-- lodash._baseassign@3.2.0
# | | | `-- lodash._basecopy@3.0.1
# | | +-- lodash._basecreate@3.0.3
# | | `-- lodash._isiterateecall@3.0.9
# | `-- supports-color@3.1.2
# | `-- has-flag@1.0.0
# +-- nyc@10.3.2
# | +-- archy@1.0.0
# | +-- arrify@1.0.1
# | +-- caching-transform@1.0.1
# | | `-- write-file-atomic@1.3.4
# | | +-- graceful-fs@4.1.11
# | | +-- imurmurhash@0.1.4
# | | `-- slide@1.1.6
# | +-- convert-source-map@1.5.0
# | +-- debug-log@1.0.1
# | +-- default-require-extensions@1.0.0
# | | `-- strip-bom@2.0.0
# | | `-- is-utf8@0.2.1
# | +-- find-cache-dir@0.1.1
# | | +-- commondir@1.0.1
# | | `-- pkg-dir@1.0.0
# | +-- find-up@1.1.2
# | | +-- path-exists@2.1.0
# | | `-- pinkie-promise@2.0.1
# | | `-- pinkie@2.0.4
# | +-- foreground-child@1.5.6
# | | `-- cross-spawn@4.0.2
# | | `-- lru-cache@4.0.2
# | | +-- pseudomap@1.0.2
# | | `-- yallist@2.1.2
# | +-- glob@7.1.1
# | | +-- fs.realpath@1.0.0
# | | +-- inflight@1.0.6
# | | | `-- wrappy@1.0.2
# | | +-- inherits@2.0.3
# | | +-- minimatch@3.0.3
# | | | `-- brace-expansion@1.1.7
# | | | +-- balanced-match@0.4.2
# | | | `-- concat-map@0.0.1
# | | +-- once@1.4.0
# | | `-- path-is-absolute@1.0.1
# | +-- istanbul-lib-coverage@1.1.0
# | +-- istanbul-lib-hook@1.0.6
# | | `-- append-transform@0.4.0
# | +-- istanbul-lib-instrument@1.7.1
# | | +-- babel-generator@6.24.1
# | | | +-- babel-messages@6.23.0
# | | | +-- babel-runtime@6.23.0
# | | | | +-- core-js@2.4.1
# | | | | `-- regenerator-runtime@0.10.5
# | | | +-- detect-indent@4.0.0
# | | | | `-- repeating@2.0.1
# | | | | `-- is-finite@1.0.2
# | | | +-- jsesc@1.3.0
# | | | +-- lodash@4.17.4
# | | | `-- trim-right@1.0.1
# | | +-- babel-template@6.24.1
# | | +-- babel-traverse@6.24.1
# | | | +-- babel-code-frame@6.22.0
# | | | | +-- chalk@1.1.3
# | | | | | +-- ansi-styles@2.2.1
# | | | | | +-- escape-string-regexp@1.0.5
# | | | | | +-- has-ansi@2.0.0
# | | | | | `-- supports-color@2.0.0
# | | | | `-- js-tokens@3.0.1
# | | | +-- globals@9.17.0
# | | | `-- invariant@2.2.2
# | | | `-- loose-envify@1.3.1
# | | +-- babel-types@6.24.1
# | | | +-- esutils@2.0.2
# | | | `-- to-fast-properties@1.0.3
# | | +-- babylon@6.17.0
# | | `-- semver@5.3.0
# | +-- istanbul-lib-report@1.1.0
# | | +-- path-parse@1.0.5
# | | `-- supports-color@3.2.3
# | | `-- has-flag@1.0.0
# | +-- istanbul-lib-source-maps@1.2.0
# | | +-- debug@2.6.6
# | | | `-- ms@0.7.3
# | | `-- source-map@0.5.6
# | +-- istanbul-reports@1.1.0
# | | `-- handlebars@4.0.8
# | | +-- async@1.5.2
# | | +-- optimist@0.6.1
# | | | `-- wordwrap@0.0.3
# | | +-- source-map@0.4.4
# | | | `-- amdefine@1.0.1
# | | `-- uglify-js@2.8.22
# | | +-- uglify-to-browserify@1.0.2
# | | `-- yargs@3.10.0
# | | +-- camelcase@1.2.1
# | | +-- cliui@2.1.0
# | | | +-- center-align@0.1.3
# | | | | +-- align-text@0.1.4
# | | | | | `-- longest@1.0.1
# | | | | `-- lazy-cache@1.0.4
# | | | +-- right-align@0.1.3
# | | | `-- wordwrap@0.0.2
# | | `-- window-size@0.1.0
# | +-- md5-hex@1.3.0
# | | `-- md5-o-matic@0.1.1
# | +-- merge-source-map@1.0.3
# | +-- micromatch@2.3.11
# | | +-- arr-diff@2.0.0
# | | | `-- arr-flatten@1.0.3
# | | +-- array-unique@0.2.1
# | | +-- braces@1.8.5
# | | | +-- expand-range@1.8.2
# | | | | `-- fill-range@2.2.3
# | | | | +-- is-number@2.1.0
# | | | | +-- isobject@2.1.0
# | | | | | `-- isarray@1.0.0
# | | | | +-- randomatic@1.1.6
# | | | | `-- repeat-string@1.6.1
# | | | +-- preserve@0.2.0
# | | | `-- repeat-element@1.1.2
# | | +-- expand-brackets@0.1.5
# | | | `-- is-posix-bracket@0.1.1
# | | +-- extglob@0.3.2
# | | +-- filename-regex@2.0.1
# | | +-- is-extglob@1.0.0
# | | +-- is-glob@2.0.1
# | | +-- kind-of@3.2.0
# | | | `-- is-buffer@1.1.5
# | | +-- normalize-path@2.1.1
# | | | `-- remove-trailing-separator@1.0.1
# | | +-- object.omit@2.0.1
# | | | +-- for-own@0.1.5
# | | | | `-- for-in@1.0.2
# | | | `-- is-extendable@0.1.1
# | | +-- parse-glob@3.0.4
# | | | +-- glob-base@0.3.0
# | | | | `-- glob-parent@2.0.0
# | | | `-- is-dotfile@1.0.2
# | | `-- regex-cache@0.4.3
# | | +-- is-equal-shallow@0.1.3
# | | `-- is-primitive@2.0.0
# | +-- mkdirp@0.5.1
# | | `-- minimist@0.0.8
# | +-- resolve-from@2.0.0
# | +-- rimraf@2.6.1
# | +-- signal-exit@3.0.2
# | +-- spawn-wrap@1.2.4
# | | +-- os-homedir@1.0.2
# | | +-- signal-exit@2.1.2
# | | `-- which@1.2.14
# | | `-- isexe@2.0.0
# | +-- test-exclude@4.1.0
# | | +-- object-assign@4.1.1
# | | +-- read-pkg-up@1.0.1
# | | | `-- read-pkg@1.1.0
# | | | +-- load-json-file@1.1.0
# | | | | +-- parse-json@2.2.0
# | | | | | `-- error-ex@1.3.1
# | | | | | `-- is-arrayish@0.2.1
# | | | | `-- pify@2.3.0
# | | | +-- normalize-package-data@2.3.8
# | | | | +-- hosted-git-info@2.4.2
# | | | | +-- is-builtin-module@1.0.0
# | | | | | `-- builtin-modules@1.1.1
# | | | | `-- validate-npm-package-license@3.0.1
# | | | | +-- spdx-correct@1.0.2
# | | | | | `-- spdx-license-ids@1.2.2
# | | | | `-- spdx-expression-parse@1.0.4
# | | | `-- path-type@1.1.0
# | | `-- require-main-filename@1.0.1
# | +-- yargs@7.1.0
# | | +-- camelcase@3.0.0
# | | +-- cliui@3.2.0
# | | | `-- wrap-ansi@2.1.0
# | | +-- decamelize@1.2.0
# | | +-- get-caller-file@1.0.2
# | | +-- os-locale@1.4.0
# | | | `-- lcid@1.0.0
# | | | `-- invert-kv@1.0.0
# | | +-- require-directory@2.1.1
# | | +-- set-blocking@2.0.0
# | | +-- string-width@1.0.2
# | | | +-- code-point-at@1.1.0
# | | | +-- is-fullwidth-code-point@1.0.0
# | | | | `-- number-is-nan@1.0.1
# | | | `-- strip-ansi@3.0.1
# | | | `-- ansi-regex@2.1.1
# | | +-- which-module@1.0.0
# | | `-- y18n@3.2.1
# | `-- yargs-parser@5.0.0
# | `-- camelcase@3.0.0
# +-- redis-commands@1.4.0
# +-- redis-parser@2.6.0
# +-- tcp-port-used@0.1.2
# | +-- debug@0.7.4
# | +-- is2@0.0.9
# | | `-- deep-is@0.1.2
# | `-- q@0.9.7
# +-- uuid@2.0.3
# `-- win-spawn@2.0.0
# > redis@2.8.0 test /tmp/66750a5b-f6c7-426b-9463-15f19b086018/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 (500ms)
# should return good traces with NODE_DEBUG=redis env set (482ms)
# 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) (455ms)
# 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
# 42) 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 options got copied properly
# using options: detect_buffers: false;
# using javascript and IPv4
# when connected
# duplicate
# 43) check if all options got copied properly
# check if all options got copied properly
# check if all new options replaced the old ones
# check if all new options replaced the old ones
# works with a callback
# works with a callback
# works with a promises
# works with a promises
# works with a promises
# works with a promises
# big data
# 44) safe strings that are bigger than 30000 characters
# 45) safe strings that are bigger than 30000 characters with multi
# send_command
# omitting args should be fine
# 46) using multi with sendCommand should work as individual command instead of using the internal multi
# 47) "after each" hook for "using multi with sendCommand should work as individual command instead of using the internal multi"
# prefix key names
# using options: detect_buffers: true;
# using javascript and IPv4
# 48) auto prefix set / get
# 49) "after each" hook for "auto prefix set / get"
# using options: detect_buffers: false;
# using javascript and IPv4
# 50) auto prefix set / get
# 51) "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 (133ms)
# 52) 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
# 53) 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 (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 (423ms)
# multiple subscribe / unsubscribe commands
# 54) reconnects properly with pub sub and select command
# 55) should not go into pubsub mode with unsubscribe commands
# 56) handles multiple channels with the same channel name properly, even with buffers
# should only resubscribe to channels not unsubscribed earlier on a reconnect (212ms)
# unsubscribes, subscribes, unsubscribes... single and multiple entries mixed. Withouth callbacks
# unsubscribes, subscribes, unsubscribes... single and multiple entries mixed. Without callbacks
# unsubscribes, subscribes, unsubscribes... single and multiple entries mixed. Without callback and concret channels
# 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
# 57) 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
# 58) return error if only pub sub commands are allowed
# return error if only pub sub commands are allowed
# using options: detect_buffers: false;
# 59) "before each" hook
# using javascript and IPv4
# should not publish a message multiple times per command (132ms)
# 60) should not publish a message without any publish command
# arguments variants
# disable resubscribe
# does not fire subscribe events after reconnecting (204ms)
# string_numbers and pub sub
# 61) does not fire subscribe events after reconnecting
# subscribe
# fires a subscribe event for each channel subscribed to even after reconnecting (202ms)
# fires a subscribe event for each channel as buffer subscribed to even after reconnecting (207ms)
# 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
# 62) reconnects properly with pub sub and select command
# 63) should not go into pubsub mode with unsubscribe commands
# 64) handles multiple channels with the same channel name properly, even with buffers
# should only resubscribe to channels not unsubscribed earlier on a reconnect (202ms)
# unsubscribes, subscribes, unsubscribes... single and multiple entries mixed. Withouth callbacks
# unsubscribes, subscribes, unsubscribes... single and multiple entries mixed. Without callbacks
# unsubscribes, subscribes, unsubscribes... single and multiple entries mixed. Without callback and concret channels
# 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
# 65) 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
# 66) return error if only pub sub commands are allowed
# return error if only pub sub commands are allowed
# 67) "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
# 68) "before each" hook
# 69) returns a buffer
# 70) "before each" hook
# 71) returns a bufffer when executed as part of transaction
# multi.hget
# 72) "before each" hook
# returns buffers
# batch.hget
# 73) "before each" hook
# returns buffers
# hmget
# first argument is a string
# 74) "before each" hook
# handles array of strings with undefined values in transaction (repro
#344)
# first argument is a buffer
# 75) "before each" hook
# returns buffers for keys requested
# 76) "before each" hook
# returns buffers for keys requested in transaction
# 77) "before each" hook
# returns buffers for keys requested in .batch
# hgetall
# first argument is a string
# 78) "before each" hook
# returns buffer values
# 79) "before each" hook
# returns buffer values when executed in transaction
# 80) "before each" hook
# returns buffer values when executed in .batch
# first argument is a buffer
# 81) "before each" hook
# returns buffer values
# 82) "before each" hook
# returns buffer values when executed in transaction
# 83) "before each" hook
# returns buffer values when executed in .batch
# publish/subscribe
# 84) "before each" hook
# receives buffer messages
# using options: detect_buffers: false;
# using javascript and IPv4
# get
# first argument is a string
# 85) "before each" hook
# 86) returns a buffer
# 87) "before each" hook
# 88) returns a bufffer when executed as part of transaction
# multi.hget
# 89) "before each" hook
# returns buffers
# batch.hget
# 90) "before each" hook
# returns buffers
# hmget
# first argument is a string
# 91) "before each" hook
# handles array of strings with undefined values in transaction (repro
#344)
# first argument is a buffer
# 92) "before each" hook
# returns buffers for keys requested
# 93) "before each" hook
# returns buffers for keys requested in transaction
# 94) "before each" hook
# returns buffers for keys requested in .batch
# hgetall
# first argument is a string
# 95) "before each" hook
# returns buffer values
# 96) "before each" hook
# returns buffer values when executed in transaction
# 97) "before each" hook
# returns buffer values when executed in .batch
# first argument is a buffer
# 98) "before each" hook
# returns buffer values
# 99) "before each" hook
# returns buffer values when executed in transaction
# 100) "before each" hook
# returns buffer values when executed in .batch
# publish/subscribe
# 101) "before each" hook
# receives buffer messages
# TLS connection tests
# 102) "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 (39ms)
# 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 (1869ms)
# 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 (1892ms)
# 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
# 103) "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
# 104) "before each" hook
# The 'del' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 105) allows a single key to be deleted
# 106) "after each" hook for "allows a single key to be deleted"
# using options: detect_buffers: false;
# using javascript and IPv4
# 107) allows a single key to be deleted
# 108) "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
# 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"
# 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
# 111) allows a script to be executed that accesses the redis API without callback
# 112) "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
# 113) returns 1 if the key exists
# 114) "after each" hook for "returns 1 if the key exists"
# using options: detect_buffers: false;
# using javascript and IPv4
# 115) returns 1 if the key exists
# 116) "after each" hook for "returns 1 if the key exists"
# The 'expire' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 117) expires key after timeout
# 118) "after each" hook for "expires key after timeout"
# using options: detect_buffers: false;
# using javascript and IPv4
# 119) expires key after timeout
# 120) "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
# 121) "before each" hook
# when the key does not exist in Redis
# 122) 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
# 123) "before each" hook
# when the key does not exist in Redis
# 124) 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
# 125) "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
# 126) "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
# 127) count above the safe integers as numbers
# 128) "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
# 129) count above the safe integers as numbers
# 130) "after each" hook for "count above the safe integers as numbers"
# The 'info' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 131) update serverInfo after a info command
# 132) "after each" hook for "update serverInfo after a info command"
# using options: detect_buffers: false;
# using javascript and IPv4
# 133) update serverInfo after a info command
# 134) "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
# 135) handles a large packet size
# handles a large packet size
# The 'mget' method
# 136) "before each" hook
# using options: detect_buffers: true;
# using javascript and IPv4
# handles fetching multiple keys in argument form
# handles fetching multiple keys via an array
# handles fetching multiple keys, when some keys do not exist
# handles fetching multiple keys, when some keys do not exist promisified
# using options: detect_buffers: false;
# using javascript and IPv4
# handles fetching multiple keys in argument form
# handles fetching multiple keys via an array
# handles fetching multiple keys, when some keys do not exist
# handles fetching multiple keys, when some keys do not exist promisified
# The 'monitor' method
# using options: detect_buffers: true;
# 137) monitors commands on all redis clients and works in the correct order
# 138) "before each" hook
# 139) "before each" hook for "monitors returns strings in the rawOutput even with return_buffers activated"
# 140) "after each" hook
# using options: detect_buffers: false;
# The 'mset' method
# The 'msetnx' method
# using options: detect_buffers: true;
# using options: detect_buffers: true;
# using javascript and IPv4
# using javascript and IPv4
# when not connected
# 141) monitors commands on all redis clients and works in the correct order
# 142) sets multiple keys if all keys are not set
# 143) sets multiple keys if all keys are not set
# when connected
# and a callback is specified
# 144) "before each" hook
# using options: detect_buffers: false;
# with valid parameters
# using javascript and IPv4
# 145) if any keys exist entire operation fails
# 146) sets multiple keys if all keys are not set
# 147) "before each" hook
# 148) "after each" hook
# The 'randomkey' method
# The 'rename' method
# using options: detect_buffers: true;
# using options: detect_buffers: true;
# using javascript and IPv4
# using javascript and IPv4
# 149) populates the new key
# 150) removes the old key
# 151) "before each" hook
# using options: detect_buffers: false;
# using javascript and IPv4
# The 'renamenx' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 152) "before each" hook
# 153) "before each" hook for "renames the key if target does not yet exist"
# using options: detect_buffers: false;
# using javascript and IPv4
# The 'rpush' command
# using options: detect_buffers: true;
# using javascript and IPv4
# 154) renames the key if target does not yet exist
# 155) does not rename the key if the target exists
# 156) does not rename the key if the target exists
# using options: detect_buffers: false;
# using javascript and IPv4
# The 'sadd' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 157) inserts multiple values at a time into a list
# The 'scard' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 158) "before each" hook
# 159) "before each" hook for "returns the number of values in a set"
# using options: detect_buffers: false;
# using javascript and IPv4
# The 'script' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 160) returns the number of values in a set
# The 'sdiff' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 161) "before each" hook
# 162) "before each" hook for "returns set difference"
# using options: detect_buffers: false;
# using javascript and IPv4
# The 'sdiffstore' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 163) returns set difference
# The 'select' method
# using options: detect_buffers: true;
# using javascript and IPv4
# when not connected
# 164) "before each" hook
# returns an error if redis is not connected
# when connected
# using options: detect_buffers: false;
# using javascript and IPv4
# when not connected
# 165) "before each" hook
# returns an error if redis is not connected
# when connected
# The 'set' method
# using options: detect_buffers: true;
# using javascript and IPv4
# when not connected
# 166) "before each" hook
# reports an error
# when connected
# and a callback is specified
# with valid parameters
# using options: detect_buffers: false;
# using javascript and IPv4
# when not connected
# 167) sets the value correctly
# 168) set expire date in seconds
# 169) set expire date in seconds
# when connected
# and a callback is specified
# with valid parameters
# 170) sets the value correctly
# 171) sets the value correctly
# 172) only set the key if (not) already set
# 173) only set the key if (not) already set
# 174) set expire date in milliseconds
# reports an error with invalid parameters
# 175) undefined 'key' and missing 'value' parameter
# 176) undefined 'key' and missing 'value' parameter
# 177) empty array as second parameter
# reports an error with invalid parameters
# and no callback is specified
# 178) converts null to 'null'
# 179) "before each" hook for "converts null to 'null'"
# The 'setex' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 180) "before each" hook
# 181) "before each" hook for "sets a key with an expiry"
# using options: detect_buffers: false;
# using javascript and IPv4
# The 'setnx' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 182) sets a key with an expiry
# The 'sinter' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 183) "before each" hook
# 184) "before each" hook for "handles two sets being intersected"
# using options: detect_buffers: false;
# using javascript and IPv4
# The 'sinterstore' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 185) handles two sets being intersected
# 186) handles three sets being intersected
# 187) handles three sets being intersected
# using options: detect_buffers: false;
# using javascript and IPv4
# The 'sismember' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 188) calculates set intersection and stores it in a key
# The 'slowlog' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 189) "before each" hook
# 190) "before each" hook for "logs operations in slowlog"
# using options: detect_buffers: false;
# using javascript and IPv4
# The 'smembers' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 191) logs operations in slowlog
# The 'smove' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 192) "before each" hook
# 193) "before each" hook for "moves a value to a set that does not yet exist"
# using options: detect_buffers: false;
# using javascript and IPv4
# The 'sort' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 194) moves a value to a set that does not yet exist
# alphabetical
# 195) does not move a value if it does not exist in the first set
# 196) sorts in descending alphabetical order
# 197) sorts in descending alphabetical order
# numeric
# The 'spop' method
# using options: detect_buffers: true;
# using javascript and IPv4
# 198) sorts in ascending numeric order
# 199) sorts in descending numeric order
# 200) sorts in descending numeric order
# using options: detect_buffers: false;
# using javascript and IPv4
# pattern
# 201) handles sorting with a pattern
# 202) handles sorting with a 'by' pattern and 1 'get' pattern
# 203) "before each" hook
# 204) "before each" hook for "handles sorting with a 'by' pattern and 1 'get' pattern"
# 205) handles sorting with a 'by' pattern and 2 'get' patterns
# 206) "after each" hook
# 207) "after each" hook
# The 'srem' method
# using options: detect_buffers: true;
# 303 passing (11s)
# 119 pending
# 207 failing
# 1) client authentication using options: detect_buffers: true; using javascript and IPv4 individual commands work properly with batch:
# Uncaught AssertionError: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at batch_callback (lib/multi.js:12:146)
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 2) client authentication using options: detect_buffers: true; using javascript and IPv6 individual commands work properly with batch:
# Uncaught AssertionError: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at batch_callback (lib/multi.js:12:146)
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 3) client authentication using options: detect_buffers: true; using javascript and /tmp/redis.sock individual commands work properly with batch:
# Uncaught AssertionError: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at batch_callback (lib/multi.js:12:146)
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 4) client authentication using options: detect_buffers: false; using javascript and IPv4 individual commands work properly with batch:
# Uncaught AssertionError: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at batch_callback (lib/multi.js:12:146)
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 5) client authentication using options: detect_buffers: false; using javascript and IPv6 individual commands work properly with batch:
# Uncaught AssertionError: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at batch_callback (lib/multi.js:12:146)
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 6) client authentication using options: detect_buffers: false; using javascript and /tmp/redis.sock individual commands work properly with batch:
# Uncaught AssertionError: expected string 'OK', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at batch_callback (lib/multi.js:12:146)
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559: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: expected null, got error: ReplyError: ERR unknown command 'get'
# at test/helper.js:84:20
# at batch_callback (lib/multi.js:12:146)
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559: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: 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:146)
# 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: expected null, got error: ReplyError: ERR unknown command 'get'
# at test/helper.js:84:20
# at batch_callback (lib/multi.js:12:146)
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559: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: 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:146)
# 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: undefined === 'OK'
# at test/connection.spec.js:103:28
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 14) connection tests quit on lost connections do not quit before connected or a connection issue is detected:
# Uncaught AssertionError: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 15) connection tests quit on lost connections quit right away if connection drops while quit command is on the fly:
# Uncaught AssertionError: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559: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: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559: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:854)
# at lib/multi.js:11:209
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559: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: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559: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:48)
# at multi_callback (lib/multi.js:6:854)
# at lib/multi.js:11:209
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559: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 convert minus to underscore in Redis function names:
# Uncaught TypeError: Cannot read property 'callback' of undefined
# at normal_reply (index.js:73:897)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 43) The node_redis client using options: detect_buffers: false; using javascript and IPv4 when connected duplicate check if all options got copied properly:
# AssertionError: 58 === 59
# + expected - actual
# -58
# +59
#
# at Context. (test/node_redis.spec.js:101:32)
# 44) 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)
# 45) 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 with multi:
# AssertionError: false == true
# + expected - actual
# -false
# +true
#
# at Context. (test/node_redis.spec.js:199:25)
# 46) The node_redis client using options: detect_buffers: true; using javascript and IPv4 when connected send_command using multi with sendCommand should work as individual command instead of using the internal multi:
# Uncaught AssertionError: expected string 'QUEUED', got error: ReplyError: ERR unknown command 'set'
# at test/helper.js:73:20
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 47) The node_redis client using options: detect_buffers: true; using javascript and IPv4 "after each" hook for "using multi with sendCommand should work as individual command instead of using the internal multi":
# TypeError: Cannot read property '0' of undefined
# at Command.callback (test/node_redis.spec.js:258:51)
# 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)
# 48) prefix key names using options: detect_buffers: true; using javascript and IPv4 auto prefix set / get:
# Uncaught AssertionError: undefined === 'OK'
# at test/prefix.spec.js:33:28
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 49) prefix key names using options: detect_buffers: true; using javascript and IPv4 "after each" hook for "auto prefix set / get":
# AssertionError: 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) prefix key names using options: detect_buffers: false; using javascript and IPv4 auto prefix set / get:
# Uncaught AssertionError: undefined === 'OK'
# at test/prefix.spec.js:33:28
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 51) prefix key names using options: detect_buffers: false; using javascript and IPv4 "after each" hook for "auto prefix set / get":
# AssertionError: 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)
# 52) 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)
# 53) 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: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 54) 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)
# 55) 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)
# 56) publish/subscribe using options: detect_buffers: true; using javascript and IPv4 multiple subscribe / unsubscribe commands handles multiple channels with the same channel name properly, even with buffers:
# 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)
# 57) 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)
# 58) 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: false == true
# + expected - actual
# -false
# +true
#
# at test/pubsub.spec.js:592:25
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 59) publish/subscribe using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# TypeError: Cannot read property 'call' of undefined
#
# 60) 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)
# 61) 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: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 62) 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)
# 63) 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)
# 64) publish/subscribe using options: detect_buffers: false; using javascript and IPv4 multiple subscribe / unsubscribe commands handles multiple channels with the same channel name properly, even with buffers:
# 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)
# 65) 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)
# 66) 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: false == true
# + expected - actual
# -false
# +true
#
# at test/pubsub.spec.js:592:25
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 67) publish/subscribe using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# TypeError: Cannot read property 'call' of undefined
#
# 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 buffer:
# Uncaught AssertionError: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559: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 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:56)
# at multi_callback (lib/multi.js:6:854)
# at lib/multi.js:11:209
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 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: 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)
# 84) 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)
# 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 buffer:
# Uncaught AssertionError: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559: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 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:56)
# at multi_callback (lib/multi.js:6:854)
# at lib/multi.js:11:209
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 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) 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)
# 101) 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)
# 102) TLS connection tests "before all" hook:
# Error: spawn stunnel ENOENT
# at exports._errnoException (util.js:1020:11)
# at Process.ChildProcess._handle.onexit (internal/child_process.js:197:32)
# at onErrorNT (internal/child_process.js:376:16)
# at _combinedTickCallback (internal/process/next_tick.js:80:11)
# at process._tickCallback (internal/process/next_tick.js:104:9)
# 103) 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: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 104) 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: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 105) 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)
# 106) The 'del' method using options: detect_buffers: true; using javascript and IPv4 "after each" hook for "allows a single key to be deleted":
# AssertionError: 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 '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)
# 108) The 'del' method using options: detect_buffers: false; using javascript and IPv4 "after each" hook for "allows a single key to be deleted":
# AssertionError: 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)
# 109) 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)
# 110) 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: 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 '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)
# 112) 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: 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)
# 113) 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)
# 114) The 'exists' method using options: detect_buffers: true; using javascript and IPv4 "after each" hook for "returns 1 if the key exists":
# AssertionError: 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 '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)
# 116) The 'exists' method using options: detect_buffers: false; using javascript and IPv4 "after each" hook for "returns 1 if the key exists":
# AssertionError: 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)
# 117) The 'expire' method using options: detect_buffers: true; using javascript and IPv4 expires key after timeout:
# Uncaught AssertionError: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 118) The 'expire' method using options: detect_buffers: true; using javascript and IPv4 "after each" hook for "expires key after timeout":
# AssertionError: 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 'expire' method using options: detect_buffers: false; using javascript and IPv4 expires key after timeout:
# Uncaught AssertionError: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 120) The 'expire' method using options: detect_buffers: false; using javascript and IPv4 "after each" hook for "expires key after timeout":
# AssertionError: 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)
# 121) 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: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 122) 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: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 123) 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: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 124) 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: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 125) 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: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 126) 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: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 127) 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: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 128) 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: 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 '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: 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:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 130) 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: 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)
# 131) 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)
# 132) 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)
# 133) 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)
# 134) 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)
# 135) The 'keys' method using options: detect_buffers: false; using javascript and IPv4 handles a large packet size:
# Uncaught AssertionError: 'undefined' === 'object'
# + expected - actual
# -undefined
# +object
#
# at Timeout._onTimeout (test/commands/info.spec.js:35:28)
# 136) The 'keys' method using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# TypeError: Cannot read property 'call' of undefined
#
# 137) The 'monitor' method using options: detect_buffers: true; monitors commands on all redis clients and works in the correct order:
# 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)
# 138) The 'monitor' method using options: detect_buffers: true; "before each" hook for "monitors returns strings in the rawOutput even with return_buffers activated":
# 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/monitor.spec.js:16:20)
# 139) The 'monitor' method using options: detect_buffers: true; "before each" hook for "monitors returns strings in the rawOutput even with return_buffers activated":
# 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/monitor.spec.js:16:20)
# 140) The 'monitor' method using options: detect_buffers: true; "after each" hook:
# Uncaught AssertionError: [ 'flushdb' ] deepEqual [ 'set',
# 'json',
# '{"foo":"123","bar":"sdflkdfsjk","another":false}' ]
# + expected - actual
# [
# - "flushdb"
# + "set"
# + "json"
# + "{\"foo\":\"123\",\"bar\":\"sdflkdfsjk\",\"another\":false}"
# ]
#
# at RedisClient. (test/commands/monitor.spec.js:74:24)
# at RedisClient.return_reply (index.js:90:478)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 141) The 'monitor' method using options: detect_buffers: false; monitors commands on all redis clients and works in the correct order:
# Uncaught AssertionError: [ 'mget', 'some', 'keys', 'foo', 'bar' ] deepEqual [ 'eval', 'return redis.call(\'set\', \'sha\', \'test\')', '0' ]
# + expected - actual
# [
# - "mget"
# - "some"
# - "keys"
# - "foo"
# - "bar"
# + "eval"
# + "return redis.call('set', 'sha', 'test')"
# + "0"
# ]
#
# at RedisClient. (test/commands/monitor.spec.js:74:24)
# at RedisClient.return_reply (index.js:90:478)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 142) The 'msetnx' method using options: detect_buffers: true; using javascript and IPv4 sets multiple keys if all keys are not set:
# TypeError: Cannot read property 'msetnx' of undefined
# at Context. (test/commands/msetnx.spec.js:28:23)
# 143) The 'msetnx' method using options: detect_buffers: true; using javascript and IPv4 sets multiple keys if all keys are not set:
# TypeError: Cannot read property 'msetnx' of undefined
# at Context. (test/commands/msetnx.spec.js:28:23)
# 144) The 'mset' method using options: detect_buffers: true; using javascript and IPv4 when not connected "before each" hook:
# TypeError: Cannot read property 'call' of undefined
#
# 145) The 'msetnx' method using options: detect_buffers: false; using javascript and IPv4 if any keys exist entire operation fails:
# TypeError: Cannot read property 'mset' of undefined
# at Context. (test/commands/msetnx.spec.js:22:23)
# 146) The 'msetnx' method using options: detect_buffers: false; using javascript and IPv4 sets multiple keys if all keys are not set:
# TypeError: Cannot read property 'msetnx' of undefined
# at Context. (test/commands/msetnx.spec.js:28:23)
# 147) The 'msetnx' method using options: detect_buffers: false; using javascript and IPv4 "before each" hook:
# Uncaught AssertionError: [ 'eval', 'return redis.call(\'set\', \'sha\', \'test\')', '0' ] deepEqual [ 'set', 'sha', 'test' ]
# + expected - actual
# [
# - "eval"
# - "return redis.call('set', 'sha', 'test')"
# - "0"
# + "set"
# + "sha"
# + "test"
# ]
#
# at RedisClient. (test/commands/monitor.spec.js:74:24)
# at RedisClient.return_reply (index.js:90:478)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 148) The 'msetnx' method using options: detect_buffers: false; using javascript and IPv4 "after each" hook:
# TypeError: Cannot read property 'call' of undefined
#
# 149) The 'rename' method using options: detect_buffers: true; using javascript and IPv4 populates the new key:
# TypeError: Cannot read property 'set' of undefined
# at Context. (test/commands/rename.spec.js:22:23)
# 150) The 'rename' method using options: detect_buffers: true; using javascript and IPv4 removes the old key:
# TypeError: Cannot read property 'set' of undefined
# at Context. (test/commands/rename.spec.js:28:23)
# 151) The 'rename' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook:
# Uncaught AssertionError: undefined === null
# at test/commands/monitor.spec.js:52:28
# at Object.callbackOrEmit [as callback_or_emit] (lib/utils.js:13:809)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 152) The 'renamenx' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "renames the key if target does not yet exist":
# 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/renamenx.spec.js:37:24)
# 153) The 'renamenx' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "renames the key if target does not yet exist":
# 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/renamenx.spec.js:37:24)
# 154) The 'renamenx' method using options: detect_buffers: false; using javascript and IPv4 renames the key if target does not yet exist:
# TypeError: Cannot read property 'set' of undefined
# at Context. (test/commands/renamenx.spec.js:22:23)
# 155) The 'renamenx' method using options: detect_buffers: false; using javascript and IPv4 does not rename the key if the target exists:
# TypeError: Cannot read property 'set' of undefined
# at Context. (test/commands/renamenx.spec.js:29:23)
# 156) The 'renamenx' method using options: detect_buffers: false; using javascript and IPv4 does not rename the key if the target exists:
# TypeError: Cannot read property 'set' of undefined
# at Context. (test/commands/renamenx.spec.js:29:23)
# 157) The 'rpush' command using options: detect_buffers: false; using javascript and IPv4 inserts multiple values at a time into a list:
# TypeError: Cannot read property 'rpush' of undefined
# at Context. (test/commands/rpush.spec.js:23:23)
# 158) The 'scard' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "returns the number of values in a set":
# 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/scard.spec.js:27:24)
# 159) The 'scard' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "returns the number of values in a set":
# 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/scard.spec.js:27:24)
# 160) The 'scard' method using options: detect_buffers: false; using javascript and IPv4 returns the number of values in a set:
# TypeError: Cannot read property 'sadd' of undefined
# at Context. (test/commands/scard.spec.js:22:23)
# 161) The 'sdiff' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "returns set difference":
# 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/sdiff.spec.js:43:24)
# 162) The 'sdiff' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "returns set difference":
# 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/sdiff.spec.js:43:24)
# 163) The 'sdiff' method using options: detect_buffers: false; using javascript and IPv4 returns set difference:
# TypeError: Cannot read property 'sadd' of undefined
# at Context. (test/commands/sdiff.spec.js:23:23)
# 164) The 'select' method using options: detect_buffers: true; using javascript and IPv4 when not connected "before each" hook:
# Uncaught AssertionError: [ 'subscribe', 'foo', 'baz' ] deepEqual [ 'set', 'foo', 'bar" "s are " " good!"' ]
# + expected - actual
# [
# - "subscribe"
# + "set"
# "foo"
# - "baz"
# + "bar\" \"s are \" \" good!\""
# ]
#
# at RedisClient. (test/commands/monitor.spec.js:74:24)
# at RedisClient.return_reply (index.js:90:478)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 165) The 'select' method using options: detect_buffers: false; using javascript and IPv4 when not connected "before each" hook:
# Uncaught AssertionError: [ 'info' ] deepEqual [ 'mget', 'foo', 'baz' ]
# + expected - actual
# [
# - "info"
# + "mget"
# + "foo"
# + "baz"
# ]
#
# at RedisClient. (test/commands/monitor.spec.js:74:24)
# at RedisClient.return_reply (index.js:90:478)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 166) The 'set' method using options: detect_buffers: true; using javascript and IPv4 when not connected "before each" hook:
# Uncaught AssertionError: [ 'flushdb' ] deepEqual [ 'subscribe', 'foo', 'baz' ]
# + expected - actual
# [
# - "flushdb"
# + "subscribe"
# + "foo"
# + "baz"
# ]
#
# at RedisClient. (test/commands/monitor.spec.js:74:24)
# at RedisClient.return_reply (index.js:90:478)
# 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 readableAddChunk (_stream_readable.js:176:18)
# at Socket.Readable.push (_stream_readable.js:134:10)
# at TCP.onread (net.js:559:20)
# 167) The 'set' method using options: detect_buffers: true; using javascript and IPv4 when connected and a callback is specified with valid parameters sets the value correctly:
# TypeError: Cannot read property 'SET' of undefined
# at Context. (test/commands/set.spec.js:57:35)
# 168) The 'set' method using options: detect_buffers: true; using javascript and IPv4 when connected and a callback is specified with valid parameters set expire date in seconds:
# TypeError: Cannot read property 'set' of undefined
# at Context. (test/commands/set.spec.js:67:35)
# 169) The 'set' method using options: detect_buffers: true; using javascript and IPv4 when connected and a callback is specified with valid parameters set expire date in seconds:
# TypeError: Cannot read property 'set' of undefined
# at Context. (test/commands/set.spec.js:67:35)
# 170) The 'set' method using options: detect_buffers: false; using javascript and IPv4 when connected and a callback is specified with valid parameters sets the value correctly:
# TypeError: Cannot read property 'SET' of undefined
# at Context. (test/commands/set.spec.js:57:35)
# 171) The 'set' method using options: detect_buffers: false; using javascript and IPv4 when connected and a callback is specified with valid parameters sets the value correctly:
# TypeError: Cannot read property 'SET' of undefined
# at Context. (test/commands/set.spec.js:57:35)
# 172) The 'set' method using options: detect_buffers: true; using javascript and IPv4 when connected and a callback is specified with valid parameters only set the key if (not) already set:
# TypeError: Cannot read property 'set' of undefined
# at Context. (test/commands/set.spec.js:85:35)
# 173) The 'set' method using options: detect_buffers: true; using javascript and IPv4 when connected and a callback is specified with valid parameters only set the key if (not) already set:
# TypeError: Cannot read property 'set' of undefined
# at Context. (test/commands/set.spec.js:85:35)
# 174) The 'set' method using options: detect_buffers: false; using javascript and IPv4 when connected and a callback is specified with valid parameters set expire date in milliseconds:
# TypeError: Cannot read property 'set' of undefined
# at Context. (test/commands/set.spec.js:76:35)
# 175) The 'set' method using options: detect_buffers: true; using javascript and IPv4 when connected and a callback is specified reports an error with invalid parameters undefined 'key' and missing 'value' parameter:
# TypeError: Cannot read property 'set' of undefined
# at Context. (test/commands/set.spec.js:98:35)
# 176) The 'set' method using options: detect_buffers: true; using javascript and IPv4 when connected and a callback is specified reports an error with invalid parameters undefined 'key' and missing 'value' parameter:
# TypeError: Cannot read property 'set' of undefined
# at Context. (test/commands/set.spec.js:98:35)
# 177) The 'set' method using options: detect_buffers: true; using javascript and IPv4 when connected and a callback is specified reports an error with invalid parameters empty array as second parameter:
# TypeError: Cannot read property 'set' of undefined
# at Context. (test/commands/set.spec.js:106:35)
# 178) The 'set' method using options: detect_buffers: true; using javascript and IPv4 when connected and no callback is specified converts null to 'null':
# TypeError: Cannot read property 'set' of undefined
# at Context. (test/commands/set.spec.js:145:31)
# 179) The 'set' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "converts null to 'null'":
# TypeError: Cannot read property 'call' of undefined
#
# 180) The 'setex' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "sets a key with an expiry":
# 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/setex.spec.js:33:24)
# 181) The 'setex' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "sets a key with an expiry":
# 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/setex.spec.js:33:24)
# 182) The 'setex' method using options: detect_buffers: false; using javascript and IPv4 sets a key with an expiry:
# TypeError: Cannot read property 'setex' of undefined
# at Context. (test/commands/setex.spec.js:23:23)
# 183) The 'sinter' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "handles two sets being intersected":
# 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/sinter.spec.js:59:24)
# 184) The 'sinter' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "handles two sets being intersected":
# 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/sinter.spec.js:59:24)
# 185) The 'sinter' method using options: detect_buffers: false; using javascript and IPv4 handles two sets being intersected:
# TypeError: Cannot read property 'sadd' of undefined
# at Context. (test/commands/sinter.spec.js:23:23)
# 186) The 'sinter' method using options: detect_buffers: false; using javascript and IPv4 handles three sets being intersected:
# TypeError: Cannot read property 'sadd' of undefined
# at Context. (test/commands/sinter.spec.js:39:23)
# 187) The 'sinter' method using options: detect_buffers: false; using javascript and IPv4 handles three sets being intersected:
# TypeError: Cannot read property 'sadd' of undefined
# at Context. (test/commands/sinter.spec.js:39:23)
# 188) The 'sinterstore' method using options: detect_buffers: false; using javascript and IPv4 calculates set intersection and stores it in a key:
# TypeError: Cannot read property 'sadd' of undefined
# at Context. (test/commands/sinterstore.spec.js:23:23)
# 189) The 'slowlog' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "logs operations in slowlog":
# 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/slowlog.spec.js:37:24)
# 190) The 'slowlog' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "logs operations in slowlog":
# 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/slowlog.spec.js:37:24)
# 191) The 'slowlog' method using options: detect_buffers: false; using javascript and IPv4 logs operations in slowlog:
# TypeError: Cannot read property 'config' of undefined
# at Context. (test/commands/slowlog.spec.js:23:23)
# 192) The 'smove' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "moves a value to a set that does not yet exist":
# 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/smove.spec.js:36:24)
# 193) The 'smove' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "moves a value to a set that does not yet exist":
# 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/smove.spec.js:36:24)
# 194) The 'smove' method using options: detect_buffers: false; using javascript and IPv4 moves a value to a set that does not yet exist:
# TypeError: Cannot read property 'sadd' of undefined
# at Context. (test/commands/smove.spec.js:22:23)
# 195) The 'smove' method using options: detect_buffers: false; using javascript and IPv4 does not move a value if it does not exist in the first set:
# TypeError: Cannot read property 'sadd' of undefined
# at Context. (test/commands/smove.spec.js:29:23)
# 196) The 'sort' method using options: detect_buffers: true; using javascript and IPv4 alphabetical sorts in descending alphabetical order:
# TypeError: Cannot read property 'SORT' of undefined
# at Context. (test/commands/sort.spec.js:60:27)
# 197) The 'sort' method using options: detect_buffers: true; using javascript and IPv4 alphabetical sorts in descending alphabetical order:
# TypeError: Cannot read property 'SORT' of undefined
# at Context. (test/commands/sort.spec.js:60:27)
# 198) The 'sort' method using options: detect_buffers: true; using javascript and IPv4 numeric sorts in ascending numeric order:
# TypeError: Cannot read property 'sort' of undefined
# at Context. (test/commands/sort.spec.js:69:27)
# 199) The 'sort' method using options: detect_buffers: true; using javascript and IPv4 numeric sorts in descending numeric order:
# TypeError: Cannot read property 'sort' of undefined
# at Context. (test/commands/sort.spec.js:76:27)
# 200) The 'sort' method using options: detect_buffers: true; using javascript and IPv4 numeric sorts in descending numeric order:
# TypeError: Cannot read property 'sort' of undefined
# at Context. (test/commands/sort.spec.js:76:27)
# 201) The 'sort' method using options: detect_buffers: true; using javascript and IPv4 pattern handles sorting with a pattern:
# TypeError: Cannot read property 'sort' of undefined
# at Context. (test/commands/sort.spec.js:85:27)
# 202) The 'sort' method using options: detect_buffers: true; using javascript and IPv4 pattern handles sorting with a 'by' pattern and 1 'get' pattern:
# TypeError: Cannot read property 'sort' of undefined
# at Context. (test/commands/sort.spec.js:92:27)
# 203) The 'sort' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "handles sorting with a 'by' pattern and 1 'get' pattern":
# 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)
# 204) The 'sort' method using options: detect_buffers: true; using javascript and IPv4 "before each" hook for "handles sorting with a 'by' pattern and 1 'get' pattern":
# 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)
# 205) The 'sort' method using options: detect_buffers: true; using javascript and IPv4 pattern handles sorting with a 'by' pattern and 2 'get' patterns:
# 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)
# 206) The 'sort' method using options: detect_buffers: true; using javascript and IPv4 "after each" hook:
# TypeError: Cannot read property 'call' of undefined
#
# 207) The 'sort' method using options: detect_buffers: true; using javascript and IPv4 "after each" hook:
# TypeError: Cannot read property 'call' of undefined
#
# using javascript and IPv4
# ------------------------|----------|----------|----------|----------|----------------|
# File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
# ------------------------|----------|----------|----------|----------|----------------|
# All files | 87.67 | 84.29 | 85.62 | 87.67 | |
# redis | 84.62 | 82.55 | 78.33 | 84.62 | |
# index.js | 84.62 | 82.55 | 78.33 | 84.62 |... 0,1066,1072 |
# redis/lib | 90.03 | 85.64 | 90.7 | 90.03 | |
# 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 | 78.46 | 67.5 | 50 | 78.46 |... ,82,105,106 |
# individualCommands.js | 91.11 | 87.5 | 95.56 | 91.11 |... 386,387,388 |
# 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 cryptiles@2.0.5: This version is no longer maintained. Please upgrade to the latest version.
# npm WARN deprecated hoek@2.16.3: This version is no longer maintained. Please upgrade to the latest version.
# npm WARN deprecated boom@2.10.1: This version is no longer maintained. Please upgrade to the latest version.
# npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
# 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: 33872 ... 1..1