1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

41 Commits

Author SHA1 Message Date
Matt Ranney
f91626d110 Send friendlier error event on stream errors. 2010-11-03 12:43:18 -07:00
Matt Ranney
86b2c22c80 Use db 15 for testing. Adapt many fine tests from fictorial's client. 2010-10-30 01:38:47 -07:00
Matt Ranney
ee976bb82c Add test for BLPOP, tighten up MULTI tests. 2010-10-21 18:14:44 -07:00
Aivo Paas
1cfbdea49a Minor fixes in tests
Moved a last() call to the end of a test
Fixed typo and added error message when client emits error
2010-10-02 22:06:16 +03:00
Aivo Paas
3495b60047 Fixed .multi() to convert HGETALL result to an object 2010-10-02 22:00:57 +03:00
Orion Henry
dcbb87dff7 fix bug not allowing you to quit while in subscribe mode - added test 2010-09-27 17:11:12 -07:00
Orion Henry
01068565d9 adding a test for utf8 strings 2010-09-27 16:34:54 -07:00
Matt Ranney
a21607100b Add test for multi with array args. 2010-09-24 18:45:39 -07:00
Matt Ranney
d7b14b335a More tests for different MULTI syntax. 2010-09-24 13:16:30 -07:00
Matt Ranney
29f10cd593 Merge remote branch 'tj/features/multi'
Conflicts:
	test.js
2010-09-24 10:51:21 -07:00
Matt Ranney
c1225b9b86 More tests for MULTI and nested multi-bulk replies. 2010-09-23 12:21:24 -07:00
Tj Holowaychuk
7795d68351 Extended multi test to include multibulk 2010-09-22 20:12:37 -07:00
Tj Holowaychuk
91ebe64dae Implemented alternate MULTI syntax
Usage:

  client
    .multi
    .set(foo, bar)
    .set(counter, 1)
    .incr(counter)
    .exec(function(err, replies){});
2010-09-22 18:38:55 -07:00
Matt Ranney
bbbc4abd3b Update MULTI test for nested multi-bulk. 2010-09-22 17:34:45 -07:00
Matt Ranney
58e620058f Add test for BLPOP. 2010-09-22 10:33:53 -07:00
rick
0b51924aa7 ensure client emits connect and end events 2010-09-20 12:29:35 -07:00
Matt Ranney
6359a02208 Add QUIT command for orderly shutdown. 2010-09-20 11:56:30 -07:00
Tj Holowaychuk
8cd56f5987 Fixed HGETALL_NULL assertions 2010-09-20 07:34:23 -07:00
Tj Holowaychuk
a93020c555 Fixed null HGETALL bug causing exception 2010-09-20 07:32:45 -07:00
Matt Ranney
200ced827a Add test for pub/sub. 2010-09-19 23:47:39 -07:00
Matt Ranney
42c752f759 Add test for HINCRBY 2010-09-18 21:27:09 -07:00
Matt Ranney
09f1564b7c Add test for HMGET 2010-09-18 20:24:06 -07:00
Matt Ranney
75f1344958 Add test for HSET empty key and empty value. 2010-09-18 20:09:31 -07:00
Tj Holowaychuk
87e4ef0216 Removed benchmark related tests 2010-09-17 18:55:04 -07:00
Matt Ranney
8e7f1cc1e7 Add test for HSET that exposes 0 length bug. 2010-09-17 17:32:41 -07:00
Tj Holowaychuk
a84c217827 Fixed zero length multibulk. Passing null not an empty array 2010-09-17 16:47:46 -07:00
Matt Ranney
c7d28bc601 Run all tests 10K times so RPS comes out right.
Also fix assert in LRANGE tests.
2010-09-17 16:34:05 -07:00
Matt Ranney
75005c85c7 Merge remote branch 'tj/tests' 2010-09-17 16:24:43 -07:00
Tj Holowaychuk
c50dff0835 Colored test output 2010-09-17 16:11:06 -07:00
Tj Holowaychuk
d7c5fc6d6e Fixed zero-length mutlibulk replies 2010-09-17 15:35:26 -07:00
Tj Holowaychuk
c0f7a40bbf Added empty KEYS test illustrating hang 2010-09-17 15:09:25 -07:00
Tj Holowaychuk
bcbf3834e1 Implemented HGETALL response as object 2010-09-17 14:52:32 -07:00
Tj Holowaychuk
0b3a1c3eaa Added HGETALL object assertions 2010-09-17 14:46:15 -07:00
Matt Ranney
850e5712cb Change LRANGE test to 0 499 to match redis-benchmark.
Also use client.close() to exit cleanly.
2010-09-17 11:15:10 -07:00
Matt Ranney
30de0a5fc4 Add performance tests similar to redis-benchmark. 2010-09-16 23:52:47 -07:00
Matt Ranney
ca67780b5a Fix JSLint errors. 2010-09-14 23:01:12 -07:00
Matt Ranney
36cffb433b Rename redis.js to index.js 2010-09-14 17:12:05 -07:00
Matt Ranney
d42752b34e Remove eyes reference. 2010-09-14 17:09:03 -07:00
Matt Ranney
0bc9fb060f Add more tests and chain them together. 2010-09-14 16:43:47 -07:00
Matt Ranney
e2e14d161e Starting to add tests. 2010-09-14 01:12:32 -07:00
Matt Ranney
e5a3dae882 Initial checkin. Many things work. 2010-09-13 19:03:42 -07:00