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

30 Commits

Author SHA1 Message Date
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
e48e1e845f Windows fixes
Skip redis process spawn on windows for now
2016-03-07 02:03:10 +01:00
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
8dcf06754d Add warnings and handle protocol errors gracefuly 2016-03-01 17:59:16 +01:00
0596480b03 Fix a few style/whitespace errors 2015-11-23 16:58:46 +01:00
1fa9f15ae4 Add tests for TLS connections 2015-11-23 16:56:37 +01:00
eae5596a3c Add support for TLS connections 2015-11-23 16:56:37 +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
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
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
987e4f8a7c Add hiredis to the tests if it's present 2015-10-10 02:17:31 +02:00
aad5045c8e use the max port # in newer versions of node 2015-10-03 21:13:18 -07:00
0db1152492 tests were failing on my old mac (node 0.10.40, osx 10.9.5, 2.8.7) 2015-10-03 21:08:00 -07:00
fba050802b Move command out of the index.js 2015-09-30 02:03:37 +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
55e4a9b847 Fix issues with returning buffers
Fixes #818 and #354
2015-09-21 03:07:55 +02:00
89c8dd056b Do not emit the broken mode twice if exec is called
Add more tests
2015-09-16 05:22:43 +02:00
0b8705abe9 Do not run all tests with every single connection (if one connection works, the others are going to be fine too) 2015-09-16 05:22:07 +02:00
4bdcf8a598 Fix regression: version detection in tests did not work properly anymore 2015-09-14 23:53:52 +02:00
0b46a69c7e fix merge, run linting as part of the test suite 2015-09-12 18:44:01 -07:00
a0bf9e2314 tweaks based on running test-suite on Windows on an older Redis 2015-09-12 18:29:50 -07:00
b4da975785 prep for getting tests to work on appveyor 2015-09-12 18:24:14 -07:00
43e25e73c9 Remove async dependency 2015-09-12 19:36:07 +02:00
1ae280dcec Fix some tests and deactivate broken ones 2015-09-12 18:56:49 +02:00
9acbd6c860 Add simicolons and remove trailing whitespace 2015-09-12 18:56:49 +02:00
06c5f1922b Add jshint and fix errors accordingly (including broken tests) 2015-09-12 18:56:49 +02:00
89e1f6f067 Improve code coverage by adding tests and removing unnecessary code 2015-09-03 22:26:01 +02:00
a5938f3ade Refactor the test suite and remove duplicated code 2015-09-01 23:28:41 +02:00
a0832c3744 slight refactor from code review
smoke test large list of commands

ported more tests to mocha, some slight cleanup in tests

move sinon and uuid to dev dependencies

finished porting eval tests over to mocha

rebased mocha testing branch with master

ported client and script tests

ported watch tests

ported detect_buffers tests

ported unref tests

ported auth tests over to mocha

ported idle and no_delay tests

ported hlen, hset

continuing marching forward

ported hincrby, sinter, sort, pubsub tests. improved logic in redis-process, I was still occasionally having issues where redis failed to exit.

switch back to default test command

ported del, exists, hlen, keys, randomkey, type

cleanup based on what I've learned so far from refactor. we now start and stop redis less often. moved tests to their final resting place

finished porting node_redis client tests

ported hgetall, mget, msetnx, rename, renamenx, setex, setnx

ported hgetall, mget, msetnx, rename, renamenx, setex, setnx

ported queue tests to mocha

amalgamated some of the helper logic

ported sadd, scard, sismember, srem, utf-8
2015-08-14 21:31:18 -07:00