1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

219 Commits

Author SHA1 Message Date
Ruben Bridgewater
0c5947be51 Add string_numbers option to handle very big numbers 2016-03-27 03:19:18 +02:00
Ruben Bridgewater
2e68a7a270 Make test more robust by waiting till redis answered
The former fix was actually not working as expected
2016-03-26 15:44:46 +01:00
Ruben Bridgewater
68f2a8894e Make test more robust
The redis server ends the connection and the stream end might be triggered
before the quit command returned and is therefor racy.
2016-03-26 15:22:36 +01:00
Ruben Bridgewater
94e9f1fcfc Replace jshint with eslint and add lots of rules
Fix eslint errors accordingly
2016-03-26 14:45:12 +01:00
Ruben Bridgewater
12579e5e8e Test pubsub numsub
Closes #740
2016-03-26 04:53:27 +01:00
Ruben Bridgewater
7a5a4aa535 Fix pub sub mode
There is likely a better and more performant way to fix this but this works so far
and should be good enough to release and improve later.

Make test more robust

Add another test
2016-03-26 02:14:10 +01:00
Ruben Bridgewater
7af90043c8 Improve test 2016-03-26 01:00:32 +01:00
Ruben Bridgewater
344291a98a Fix monitoring mode 2016-03-25 16:09:20 +01:00
Ruben Bridgewater
db6cf0a3b5 Don't throw on invalid data types but throw a warning instead
Fixes #1013
2016-03-21 17:22:03 +01:00
Ruben Bridgewater
359820c766 Support redis 2.4 info command
Fixes #1008
2016-03-16 23:50:29 +01:00
Ruben Bridgewater
eb9500bb9f Fix redis 2.4 auth support 2016-03-16 23:15:21 +01:00
Ruben Bridgewater
24e7486a5a Fix forgotten optional info section
Fixes #1003
2016-03-15 09:59:09 +01:00
Ruben Bridgewater
6598da5366 Indicate transmission errors 2016-03-15 03:56:47 +01:00
Ruben Bridgewater
ff19663d9d Remove code overhead
Add another domain test

Fix test on node 0.10
2016-03-15 03:56:36 +01:00
Ruben Bridgewater
f75b38a3e2 Make windows tests more robust 2016-03-14 23:10:46 +01:00
Ruben Bridgewater
d858bd8383 Passing a stream as second parameter in the constructor
To support private streams this is implemented.
This needs some monkey patching to work, so it is not officially
supported and might be removed at any time!

Fixes #950
Closes #951
2016-03-10 22:01:23 +01:00
Ruben Bridgewater
2913eaccaf Make tests more robust and print more details if one might still fail 2016-03-07 11:52:48 +01:00
Matt Berther
7ddb955517 updating the test filename to match the command 2016-03-07 09:41:40 +01:00
Matt Berther
b14cbaf1d5 updating the test description to match the command 2016-03-07 03:31:38 +01:00
Ruben Bridgewater
e48e1e845f Windows fixes
Skip redis process spawn on windows for now
2016-03-07 02:03:10 +01:00
Ruben Bridgewater
31a2d843e8 Add slave ready test 2016-03-07 01:57:56 +01:00
Ruben Bridgewater
c2e25a7f71 Move lots code into separate files and split big functions party into smaller ones
Also refactor small stuff here
Removed the .send_anyway boolean and use .ready instead
2016-03-07 01:57:56 +01:00
Ruben Bridgewater
535db5231e Fix rename command not working together with key prefixes 2016-03-07 01:57:56 +01:00
Ruben Bridgewater
575ad7357b Insert deprecation warnings and some minor refactoring 2016-03-07 01:57:56 +01:00
Ruben Bridgewater
89209b8adc Handle very big pipelines without crashing 2016-03-07 01:57:56 +01:00
Ruben Bridgewater
cc540dbc3c Implement retry_strategy and add more info to the reconnect event 2016-03-07 01:57:56 +01:00
Ruben Bridgewater
711d51c387 Add unify_options / createClient tests 2016-03-07 01:57:56 +01:00
Ruben Bridgewater
6013ee7f90 callFuncAfter should fire the passed fn everytime called above the minimum
Also pass individual ports to the redis process through
2016-03-07 01:57:56 +01:00
Ruben Bridgewater
0a636f95cc Signal test failures due to used ports and accept individual ports to be provided 2016-03-07 01:57:56 +01:00
Ruben Bridgewater
1a8a72ddf3 Improve tls tests
Removed redundant tests.
Skip the tests on windows instead of not even showing them.
Add a faulty cert to check proper cert validation.
Reject unauthorized certs
2016-03-07 01:57:56 +01:00
Ruben Bridgewater
4f3c4a2ef6 Add more tests
Add execution order tests
Fix flaky test
Add utils tests
Improve other tests
2016-03-07 01:57:56 +01:00
Ruben Bridgewater
fb0eaf4d41 Unify auth handling 2016-03-01 17:59:17 +01:00
Ruben Bridgewater
60eee34de1 Unify command handling 2016-03-01 17:59:16 +01:00
Ruben Bridgewater
d739ff3a76 Fix test race condition 2016-03-01 17:59:16 +01:00
Ruben Bridgewater
8dcf06754d Add warnings and handle protocol errors gracefuly 2016-03-01 17:59:16 +01:00
Ruben Bridgewater
5ef24a90b6 Add tests and improve older tests 2015-12-31 06:00:20 +01:00
Ruben Bridgewater
e89bcec1c2 Deprecate and warn on null / undefined arguments 2015-12-30 16:18:17 +01:00
Ruben Bridgewater
16a1d69c82 Move parsers into seperate module and improve js parser performance 2015-11-30 13:31:26 +01:00
Ruben Bridgewater
0207163655 Remove support of redis 2.4
All tests require at least redis 2.6 from now on. Anyone who wants to run the tests should be able to install a newer version.
2015-11-30 13:31:26 +01:00
Ruben Bridgewater
33d5981ebf Remove .only ... 2015-11-27 21:42:23 +01:00
Ruben Bridgewater
59984136fe Update changelog and fix a test 2015-11-27 21:40:32 +01:00
Ruben Bridgewater
56861a89d2 Escape js parser protocol error characters 2015-11-27 21:40:32 +01:00
Ruben Bridgewater
3f945dbf3e Fix parser regression
Add regression test
Rename big_offset to big_str_size

Fixes #924
2015-11-25 23:32:40 +01:00
Ruben Bridgewater
61bd5d0202 Remove obsolete nested .gitignore file 2015-11-25 16:10:25 +01:00
Ruben Bridgewater
a0cc715206 Ignore still running commands for pub sub tests after the test ended 2015-11-24 21:23:19 +01:00
Ruben Bridgewater
4ba72703fd Fix test for appveyor 2015-11-24 21:01:54 +01:00
Ruben Bridgewater
d55017a01e Use .end(true) to stricten test cases and improve coverage 2015-11-24 00:23:18 +01:00
Ruben Bridgewater
f877c3950c Add prefix option
Fixes #323

Add key prefix tests

Add changelog entry for prefix
2015-11-24 00:23:18 +01:00
Ruben Bridgewater
a8c3675218 Add another parser test 2015-11-23 18:38:17 +01:00
Ruben Bridgewater
32a5e1d148 Add changelog entries 2015-11-23 18:38:06 +01:00