1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-03 04:01:40 +03:00
Commit Graph

91 Commits

Author SHA1 Message Date
14170f9d02 Improve tests a bit
Reduce timeouts if possible
Extend timeouts if needed (windows tests need their time)
Don't expose the redis socket to others than the owner
Don't create the stunnel log
2016-04-01 11:42:22 +02:00
861749f4d6 Fix send_command working with hooked internal functions 2016-03-31 19:23:46 +02:00
0c5947be51 Add string_numbers option to handle very big numbers 2016-03-27 03:19:18 +02:00
94e9f1fcfc Replace jshint with eslint and add lots of rules
Fix eslint errors accordingly
2016-03-26 14:45:12 +01:00
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
db6cf0a3b5 Don't throw on invalid data types but throw a warning instead
Fixes #1013
2016-03-21 17:22:03 +01:00
359820c766 Support redis 2.4 info command
Fixes #1008
2016-03-16 23:50:29 +01:00
24e7486a5a Fix forgotten optional info section
Fixes #1003
2016-03-15 09:59:09 +01:00
ff19663d9d Remove code overhead
Add another domain test

Fix test on node 0.10
2016-03-15 03:56:36 +01:00
7ddb955517 updating the test filename to match the command 2016-03-07 09:41:40 +01:00
b14cbaf1d5 updating the test description to match the command 2016-03-07 03:31:38 +01:00
575ad7357b Insert deprecation warnings and some minor refactoring 2016-03-07 01:57:56 +01:00
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
60eee34de1 Unify command handling 2016-03-01 17:59:16 +01:00
5ef24a90b6 Add tests and improve older tests 2015-12-31 06:00:20 +01:00
e89bcec1c2 Deprecate and warn on null / undefined arguments 2015-12-30 16:18:17 +01:00
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
918882f0bf Hotfix 2015-11-23 14:38:33 +01:00
9ca2d1ddaa Fix test on appveyor
Somehow the calls do not seem to be handled sync on appveyor in this test
2015-11-23 14:38:10 +01:00
f82fb6cf42 Explicitly install hiredis on appveyor and only use start / end clients if needed 2015-11-23 13:22:07 +01:00
8bf794fb36 Stricten tests by always ending redis with .end(true) if possible 2015-11-22 16:56:54 +01:00
241e156499 Fix saving buffers with charsets other than utf-8 while using multi
This will also improve pipelinening for buffers and fixes the return value of Batch.exec

Fixes #913
2015-11-18 02:43:43 +01:00
19ce6680ef Prevent jshint race condition 2015-11-17 22:08:17 +01:00
88c9e28a27 Fix test 2015-10-29 23:27:52 +01:00
d454e4025b Fix an issue with .multi after a reconnect on node 0.10
Add .path to .createClient options object for unix sockets
2015-10-29 23:23:20 +01:00
afc4989495 Remove command queue high and low water marks 2015-10-28 23:53:10 +01:00
d39f6961e6 Add tests and emit UNCERTAIN_STATE errors 2015-10-28 23:53:10 +01:00
ebea0872a9 Add regression test 2015-10-28 23:53:10 +01:00
1cb158b5da Add zscan test 2015-10-28 23:53:10 +01:00
2a65ee48dd Fix some minor issues and add more tests
Do not mutate the options object and add some more tests
2015-10-17 21:56:16 +02:00
0d4d4d7416 Fix multi not being executed on node 0.10 if not yet ready. Closes #889 2015-10-14 02:24:11 +02:00
60e9d0fdd6 Fix multi regression. Closes #889
Allow commands being executed after a Multi / Batch was initiated but not yet executed
2015-10-14 00:58:27 +02:00
f0e28bf0f7 Minor improvement for .batch and .multi for small values
Improve the speed by round about 5% for small values

Add Multi.exec_atomic
2015-10-12 08:26:46 +02:00
ed2fc95444 Fix should_buffer return values and empty .batch and .auth return value being sync
Fix test
2015-10-11 03:38:41 +02:00
d59d6cf114 Add .batch tests 2015-10-11 03:35:22 +02:00
f8c245e04f Add .batch with better pipeline implementation 2015-10-11 03:35:22 +02:00
146d88154c Fix send_command always returning should_buffer boolean
Fix .auth, .select and .exec to return the should_buffer boolean
2015-10-11 03:35:22 +02:00
e0b9f0de79 Fix race condition in tests 2015-10-11 03:31:45 +02:00
2ca42417bf Fix explicitly passing undefined as callback 2015-10-02 20:20:56 +02:00
3c39a8bdfc Remove .only 2015-09-30 02:12:28 +02:00
afcd760b18 Fix a test and add some more 2015-09-30 02:04:56 +02:00
fba050802b Move command out of the index.js 2015-09-30 02:03:37 +02:00
29b31f749a Add a better promise documentation and add some tests 2015-09-30 01:57:58 +02:00
db8c6e3bc2 Skip test until the issue is fixed 2015-09-25 02:23:41 +02:00
5f261c5823 Minor changes
Move utility functions in lib/utils.js
Improve the js parser in cases the buffer is incomplete
Rename lib/parser to lib/parsers

Fix smaller issues with test suite and fix parser errors not being catched

Fixed wrong test for the new .end flush parameter
Fixed test suite options being partly mutated
Add some more tests
2015-09-25 02:12:48 +02:00
bd4fca130d Make .end flush optional and add some tests 2015-09-24 13:27:32 +02:00
38281c20b2 Fix small issues with hmset & multi constructor 2015-09-24 12:08:25 +02:00
7be7128b2b Arguments passed as arrays should not be mutated. Fixes #866 2015-09-24 00:31:55 +02:00
6958c1854b Increase the coverage by adding tests and fix a failing ready check 2015-09-21 02:38:27 +02:00
c60a3b65fe Rename .command_used to .command and add the used command to more errors 2015-09-20 18:56:21 +02:00