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

30 Commits

Author SHA1 Message Date
20128fe779 Test windows fixes
Replace win-spawn with cross-spawn
2016-04-01 14:55:25 +02:00
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
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
7af90043c8 Improve test 2016-03-26 01:00:32 +01:00
eb9500bb9f Fix redis 2.4 auth support 2016-03-16 23:15:21 +01:00
6598da5366 Indicate transmission errors 2016-03-15 03:56:47 +01:00
ff19663d9d Remove code overhead
Add another domain test

Fix test on node 0.10
2016-03-15 03:56:36 +01:00
e48e1e845f Windows fixes
Skip redis process spawn on windows for now
2016-03-07 02:03:10 +01:00
fb0eaf4d41 Unify auth handling 2016-03-01 17:59:17 +01:00
5ef24a90b6 Add tests and improve older tests 2015-12-31 06:00:20 +01:00
8bf794fb36 Stricten tests by always ending redis with .end(true) if possible 2015-11-22 16:56:54 +01:00
7718e219e9 Remove listener if not needed anymore and alawys end a client after a test 2015-10-29 15:04:47 +01: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
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
d61d97e24e Fix .auth not working properly
The arguments parameter was faulty andthe callback could have been triggered twice
2015-09-18 00:05:10 +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
c269b7539c Check that the password is from type string 2015-09-15 22:35:25 +02:00
ebbb0146b9 Fix auth emitting the error even though a callback is present
Fix auth manipulating the returned error
And this is also removing some dead code
2015-09-15 03:50:47 +02:00
1a06cfb6ec Add .command_used to errors thrown by the parser 2015-09-15 03:50:46 +02:00
be708906fa add test for providing auth after client is created 2015-09-13 22:21:03 -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
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
a5938f3ade Refactor the test suite and remove duplicated code 2015-09-01 23:28:41 +02:00
417c8c1247 had descriptions of tests swapped around 2015-08-29 14:55:01 -07:00
65db5dbefe Clarify this one test is only applicable for IPv4. 2015-08-15 11:51:37 -05: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