1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00
Commit Graph

21 Commits

Author SHA1 Message Date
Ruben Bridgewater
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
Ruben Bridgewater
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
Ruben Bridgewater
987e4f8a7c Add hiredis to the tests if it's present 2015-10-10 02:17:31 +02:00
bcoe
aad5045c8e use the max port # in newer versions of node 2015-10-03 21:13:18 -07:00
bcoe
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
Ruben Bridgewater
fba050802b Move command out of the index.js 2015-09-30 02:03:37 +02:00
Ruben Bridgewater
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
Ruben Bridgewater
55e4a9b847 Fix issues with returning buffers
Fixes #818 and #354
2015-09-21 03:07:55 +02:00
Ruben Bridgewater
89c8dd056b Do not emit the broken mode twice if exec is called
Add more tests
2015-09-16 05:22:43 +02:00
Ruben Bridgewater
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
Ruben Bridgewater
4bdcf8a598 Fix regression: version detection in tests did not work properly anymore 2015-09-14 23:53:52 +02:00
Benjamin Coe
0b46a69c7e fix merge, run linting as part of the test suite 2015-09-12 18:44:01 -07:00
Benjamin Coe
a0bf9e2314 tweaks based on running test-suite on Windows on an older Redis 2015-09-12 18:29:50 -07:00
Benjamin Coe
b4da975785 prep for getting tests to work on appveyor 2015-09-12 18:24:14 -07:00
Ruben Bridgewater
43e25e73c9 Remove async dependency 2015-09-12 19:36:07 +02:00
Ruben Bridgewater
1ae280dcec Fix some tests and deactivate broken ones 2015-09-12 18:56:49 +02:00
Ruben Bridgewater
9acbd6c860 Add simicolons and remove trailing whitespace 2015-09-12 18:56:49 +02:00
Ruben Bridgewater
06c5f1922b Add jshint and fix errors accordingly (including broken tests) 2015-09-12 18:56:49 +02:00
Ruben Bridgewater
89e1f6f067 Improve code coverage by adding tests and removing unnecessary code 2015-09-03 22:26:01 +02:00
Ruben Bridgewater
a5938f3ade Refactor the test suite and remove duplicated code 2015-09-01 23:28:41 +02:00
Benjamin Coe
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