372 Commits

Author SHA1 Message Date
antirez
a8644e8a26 list test split into smaller parts 2011-07-11 11:30:46 +02:00
antirez
4e7aaf0a99 Initial implementation of a client-server parallel testing system for Redis in order to speedup execution of the test suite. 2011-07-10 23:25:48 +02:00
antirez
bb22251514 Added slowlog.tcl 2011-07-01 15:49:17 +02:00
antirez
4d0e1714f0 unstable merge conflicts resolved 2011-06-25 12:29:24 +02:00
antirez
7192cd5cb7 Fix for bug 561 and other related problems 2011-06-20 17:19:36 +02:00
Pieter Noordhuis
f8dc0b8195 SETNX regression tests. 2011-06-20 16:42:29 +02:00
antirez
11f9b77981 Updated to unstable 2011-06-14 18:06:39 +02:00
antirez
8304f37085 ZREM tests 2011-05-31 20:30:54 +02:00
antirez
86ee8a8f25 Fix for the variadic version of SREM. Regression test added. 2011-05-31 20:14:29 +02:00
antirez
6975baed26 disabled development test entry, tests moved in the right place 2011-05-31 18:49:12 +02:00
antirez
a79ed5a118 Scripting tests added 2011-05-25 12:32:50 +02:00
antirez
0fbc2b94bb Merge branch 'unstable' of github.com:antirez/redis into unstable 2011-05-20 11:45:05 +02:00
antirez
014611492c Print version info before running the test 2011-05-20 11:44:54 +02:00
antirez
4ea2be056b Fix for ZUNIONSTORE bug when there is an empty set among input sets. Regression test added. 2011-05-19 17:58:52 +02:00
antirez
1f1d9e584b ZINTERSTORE regressiont test with two sets, intset+hashtable 2011-05-12 20:20:40 +02:00
antirez
ca50eb1977 Variadic SREM 2011-04-19 17:37:03 +02:00
antirez
1a0dcc6a67 variadic HDEL with tests 2011-04-19 17:07:55 +02:00
antirez
d0d6042e7f Variadic SADD tests 2011-04-15 18:28:25 +02:00
antirez
ab1b8e3a73 tests for variadic list push 2011-04-15 16:52:07 +02:00
Pieter Noordhuis
a6ca3077d4 Test for ENCODING_SKIPLIST instead of ENCODING_RAW 2011-04-06 16:17:07 +02:00
Pieter Noordhuis
733dee1f1c Test that sorted sets are removed when empty 2011-03-22 09:28:45 +01:00
Pieter Noordhuis
e615ae62cb Test both sorted set encodings for every test 2011-03-14 10:54:37 +01:00
Pieter Noordhuis
dc940c96f0 Test for empty inner range when looking for elements in range 2011-03-11 18:18:02 +01:00
Pieter Noordhuis
f68fbab536 Test for ranges where min > max 2011-03-08 10:57:39 +01:00
Pieter Noordhuis
acb51177dc Move logic concerned with zset ranges
This also optimizes ZREVRANGEBYSCORE for pathological cases where a
sorted set contains many elements with the same score. Previously,
it would traverse the list from back to front in such a case.
2011-03-08 10:57:24 +01:00
Pieter Noordhuis
90054003dc Restore argc/argv in EXEC after command is executed 2011-02-23 14:37:22 +01:00
antirez
5cbd8e400f run both inmemory and diskstore tests. 2011-01-09 19:42:56 +01:00
antirez
d3aa7312b9 fixed bgsave_in_progress in INFO when BGSAVEing with diskstore enabled, don't DEBUG FLUSHCACHE when bgsave is in progress. 2011-01-09 19:25:34 +01:00
antirez
f261a5d500 test adapted to run with diskstore, and a few bugs fixed 2011-01-09 18:25:34 +01:00
Pieter Noordhuis
305ce236b0 Update tests for STRLEN 2010-12-15 11:49:39 +01:00
Pieter Noordhuis
4b232afcf3 Disable negative offsets for SETRANGE 2010-12-15 11:30:50 +01:00
Pieter Noordhuis
46271240b3 Add fuzzy test for SETBIT 2010-12-15 11:20:54 +01:00
Pieter Noordhuis
77f5cf47e0 Make SETBIT return original bit value 2010-12-15 00:42:32 +01:00
antirez
e146f4fac5 Merge branch 'master' of github.com:antirez/redis 2010-12-14 17:42:46 +01:00
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
Pieter Noordhuis
0dc602e3b5 Be less verbose in testing; improve error handling 2010-12-10 16:13:21 +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
f6b6fda9e4 merge conflict resolved 2010-10-28 22:59:47 +02:00