Commit Graph

176 Commits

Author SHA1 Message Date
eb48b10738 SETNX regression tests. 2011-06-14 16:59:50 +02:00
6c194dae58 VM tests commented out for 2.4 2011-06-09 12:35:56 +02:00
5fca35da3f disabled development test entry, tests moved in the right place 2011-05-31 20:37:59 +02:00
d260b9a499 Variadic ZADD tests 2011-05-31 20:37:52 +02:00
83533b622e ZREM tests 2011-05-31 20:34:02 +02:00
51501514e9 Fix for the variadic version of SREM. Regression test added. 2011-05-31 20:15:25 +02:00
09843df1dd test for the BRPOPLPUSH issue 561 related issues 2011-05-31 12:16:16 +02:00
1f036c6587 Comment typo fixed 2011-05-24 10:43:19 +02:00
d89db584fa Merge branch '2.4' of github.com:antirez/redis into 2.4 2011-05-20 11:44:38 +02:00
1f2af715cb Print version info before running the test 2011-05-20 11:44:32 +02:00
10e4b58312 Fix for ZUNIONSTORE bug when there is an empty set among input sets. Regression test added. 2011-05-19 17:59:13 +02:00
604d26ffde ZINTERSTORE regressiont test with two sets, intset+hashtable 2011-05-12 20:20:25 +02:00
338e44a6e7 replication with expire test modified to produce no or less false failures 2011-05-12 20:17:07 +02:00
992fe21706 Use correct argc/argv for cleanup when loading AOF 2011-04-22 09:42:38 +02:00
2f170ad733 Reformat AOF tests 2011-04-22 09:42:38 +02:00
29a87f23b1 Variadic SREM backported from unstable 2011-04-21 17:31:10 +02:00
5b97a708fc variadic HDEL backported from unstable to 2.4 2011-04-19 17:14:44 +02:00
687054849e Merge branch '2.4' into 2.4-zset 2011-04-15 17:47:10 +02:00
1b905277bb tests for variadic list push 2011-04-15 17:15:59 +02:00
edfd6ae76b Test for ENCODING_SKIPLIST instead of ENCODING_RAW 2011-04-06 16:10:40 +02:00
763d6165ea Test that sorted sets are removed when empty 2011-03-22 16:09:22 +01:00
366e872d4d Test both sorted set encodings for every test 2011-03-22 16:09:22 +01:00
99cec798bb Test for empty inner range when looking for elements in range 2011-03-22 16:09:21 +01:00
8c3b630561 Test for ranges where min > max 2011-03-22 16:03:22 +01:00
453a906fc9 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-22 16:03:22 +01:00
61e2547675 Restore argc/argv in EXEC after command is executed 2011-02-23 09:39:29 +01:00
c02bda324f fixed color support for test suite. Now colors are shown as long as there is xterm somewhere inside the TERM env var 2011-02-22 16:40:24 +01:00
3becef9ee6 Reverse commits changing sorted set code for 2.2 2011-01-17 11:15:50 +01:00
7ac1b364fe Merge branch 'zset-range' into 2.2 2011-01-13 16:30:02 +01:00
53f0efe28c Merge remote branch 'pietern/string-patches' 2010-12-15 11:52:55 +01:00
7d5f5712d9 Update tests for STRLEN 2010-12-15 11:49:39 +01:00
8f8eeffec1 Disable negative offsets for SETRANGE 2010-12-15 11:30:50 +01:00
e983cf34be Add fuzzy test for SETBIT 2010-12-15 11:20:54 +01:00
180e07b8c0 fixed test rendering when test failed in non verbose mode 2010-12-15 11:04:04 +01:00
7982173fef print test names inline in the non verbose output mode 2010-12-15 10:44:36 +01:00
eae9cce166 colorized make test output when the verbose output is disabled (default) 2010-12-15 10:14:34 +01:00
30407e1f4f Make SETBIT return original bit value 2010-12-15 00:42:32 +01:00
603e616bf4 Merge branch 'master' of github.com:antirez/redis 2010-12-14 17:42:46 +01:00
57997664ea Merge remote branch 'pietern/strrange' 2010-12-14 17:42:01 +01:00
f858c11d7d Merge remote branch 'pietern/brpoplpush' 2010-12-14 16:26:37 +01:00
d8f160a848 Add test cases for GETRANGE against integer-encoded strings 2010-12-14 15:35:35 +01:00
ef11bcccca 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
9f9e1ceaa0 Add SETRANGE command implementation and tests 2010-12-14 14:20:51 +01:00
d6107fd6f1 Merge remote branch 'pietern/testverbosity' 2010-12-10 17:24:03 +01:00
6f8a32d5c7 Be less verbose in testing; improve error handling 2010-12-10 16:13:21 +01:00
4b918769a1 command line option in test suite to activate valgrind mode 2010-12-10 15:40:48 +01:00
eae33c1c81 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
076f88d657 Enforce maximum string value length of 512MB 2010-12-09 17:16:10 +01:00
3c1bf4957e Add commands SETBIT/GETBIT 2010-12-09 16:39:33 +01:00
039357e471 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.
2010-12-07 23:21:07 +01:00