antirez
f1367a37aa
Merge remote branch 'pietern/strrange'
2010-12-14 17:42:01 +01:00
antirez
31cfc6bf21
Merge remote branch 'pietern/brpoplpush'
2010-12-14 16:26:37 +01:00
Pieter Noordhuis
2bc467ba66
Add test cases for GETRANGE against integer-encoded strings
2010-12-14 15:35:35 +01:00
Pieter Noordhuis
c247d94dff
Refactor and rename SUBSTR to GETRANGE
...
SUBSTR is renamed to GETRANGE to have better consistency between command
names (with SETRANGE as its dual). GETRANGE is still aliased as SUBSTR.
2010-12-14 15:16:29 +01:00
Pieter Noordhuis
641289670c
Add SETRANGE command implementation and tests
2010-12-14 14:20:51 +01:00
antirez
d6e04c2b24
Merge remote branch 'pietern/testverbosity'
2010-12-10 17:24:03 +01:00
Pieter Noordhuis
0dc602e3b5
Be less verbose in testing; improve error handling
2010-12-10 16:13:21 +01:00
antirez
ff81d69775
command line option in test suite to activate valgrind mode
2010-12-10 15:40:48 +01:00
Pieter Noordhuis
09586f8b7a
Add generic function to grow an sds value
...
Move logic concerned with setting a bit in an sds to the SETBIT command
instead of keeping it in sds.c. The function to grow an sds can and will
be reused for a command to set a range within a string value.
2010-12-10 11:58:21 +01:00
Pieter Noordhuis
73dbf7c942
Enforce maximum string value length of 512MB
2010-12-09 17:16:10 +01:00
Pieter Noordhuis
c139b6812d
Add commands SETBIT/GETBIT
2010-12-09 16:39:33 +01:00
Pieter Noordhuis
845da0b0d3
Fix case and indent
2010-12-06 16:04:42 +01:00
Pieter Noordhuis
0e83e79f73
Check other blocked clients when value could not be pushed
2010-12-06 16:04:10 +01:00
Michel Martens & Damian Janowski
c126fa01bb
Fix BRPOPLPUSH behavior for all use cases.
2010-11-29 23:52:07 -03:00
Damian Janowski & Michel Martens
20cea44779
Handle BRPOPLPUSH inside a transaction.
2010-11-29 23:52:07 -03:00
Damian Janowski & Michel Martens
6902b0c2d0
Refactor code for BRPOPLPUSH.
2010-11-29 23:52:07 -03:00
Damian Janowski & Michel Martens
f1e2a70b23
BRPOPLPUSH.
2010-11-29 23:52:07 -03:00
antirez
e039e0488b
minor test suite bug fixed
2010-11-04 10:48:49 +01:00
antirez
f6b6fda9e4
merge conflict resolved
2010-10-28 22:59:47 +02:00
antirez
7c64c6168b
Merge remote branch 'remotes/pietern/zrevrangebyscore'
2010-10-28 14:12:25 +02:00
Pieter Noordhuis
be8c4af304
Return error to client on wrong type for HMGET
2010-10-26 12:33:17 +02:00
Pieter Noordhuis
1b6e1467d5
Prevent clients from making too large multibulk requests
2010-10-15 19:15:38 +02:00
Pieter Noordhuis
9ddc6fded8
Change tests to use either the inline or the multibulk protocol
2010-10-15 17:25:20 +02:00
Pieter Noordhuis
4865ad620b
Show output of leaks command on a leak
2010-10-15 15:56:16 +02:00
Pieter Noordhuis
a2459dd4e7
Change tcl client to only use the multibulk protocol
2010-10-15 15:50:29 +02:00
Pieter Noordhuis
0d4eb0937e
Add tests for OK on QUIT
2010-10-15 12:54:53 +02:00
Pieter Noordhuis
4bd7afa4d2
Return error when min and/or max in the sorted set range spec is not a double
2010-10-13 21:59:24 +02:00
Pieter Noordhuis
ce0eab01d5
Make ZREMRANGEBYSCORE accept the same range spec as ZRANGEBYSCORE
...
This allows to use inclusive/exclusive bounds for min and max when
deleting a range of scores from a sorted set.
2010-10-13 21:43:58 +02:00
Pieter Noordhuis
b18811fd90
Merge branch 'master' into zrevrangebyscore
2010-10-13 20:29:50 +02:00
Pieter Noordhuis
f19ee10824
Return OK on QUIT
2010-10-13 11:25:40 +02:00
Pieter Noordhuis
c8f88af7ca
Allow to specify which specific test files to run
2010-10-13 09:26:44 +02:00
antirez
fca1fb6920
intset stress testing added, ziplist stress testing relocated in a more appropriate place
2010-09-24 11:15:06 +02:00
antirez
b41525e834
explicit regression test for a ziplist bug added
2010-09-24 10:37:00 +02:00
antirez
8afd32b3b1
ziplist implementation fuzzy tests
2010-09-24 10:30:15 +02:00
Pieter Noordhuis
7afb5690c7
Add ZREVRANGEBYSCORE and refactor Z*RANGEBYSCORE
2010-09-16 14:38:07 +02:00
Pieter Noordhuis
123c4b6ec2
Fix another test that sometimes returned the swapped object instead of encoding
2010-09-13 16:59:46 +02:00
Pieter Noordhuis
cac6fadd92
Fix test that sometimes returned the swapped object instead of encoding
2010-09-07 11:49:33 +02:00
antirez
f7f12a606c
resolved conflict merging pietern/bpop-timeout
2010-08-31 11:23:12 +02:00
antirez
08f55b786b
faster server starting in Redis tests
2010-08-31 11:17:06 +02:00
Pieter Noordhuis
1eb13e4913
Fix set tests to make sets have a deterministic encoding
2010-08-31 09:37:35 +02:00
antirez
fb92ecece7
BLPOP inside MULTI/EXEC block no longer crashes, instead if the list is empty the behavior is like if the timeout is reached. This fixes Issue 285
2010-08-30 16:31:03 +02:00
antirez
588cd980e9
redis-cli tests commented out since there is a problem with the CI server and this tests, will be activated again once the problem is fixed
2010-08-26 17:52:02 +02:00
antirez
452ccf7a41
SORT stress testing against bigger aggregate values
2010-08-26 17:29:13 +02:00
Pieter Noordhuis
94364d53b4
Verify that the blocking pop timeout value is a non-negative integer
2010-08-26 14:05:14 +02:00
antirez
e59a64b8d3
forgot the traceleaks var in tests set to 1, reverted to the default, 0
2010-08-26 13:18:56 +02:00
antirez
bad7d097e9
fixed a memory leak in the new Set code
2010-08-26 13:18:24 +02:00
antirez
acc75bfd4f
Merge remote branch 'pietern/intset-split'
2010-08-26 12:04:24 +02:00
Pieter Noordhuis
b4b62c34db
Use fstat to detect if stdin was redirected
2010-08-25 14:48:50 +02:00
Pieter Noordhuis
f791d66e20
Make helper functions simpler
2010-08-25 14:15:41 +02:00
Pieter Noordhuis
f9b252613b
Comments in redis-cli tests
2010-08-25 14:08:32 +02:00