91 Commits

Author SHA1 Message Date
antirez
e12b40d3be Ziplist encoding now tested with negative integers as well. 2012-04-23 17:27:46 +02:00
antirez
9d80adcf99 Test SDIFF with first set empty. 2012-04-18 18:13:31 +02:00
antirez
bfdb8667fd Test SINTER against same integer elements, but different set encoding. 2012-04-18 18:10:48 +02:00
antirez
f56007b3d5 Test SINTER with non existing key. 2012-04-18 18:05:02 +02:00
antirez
9611f24607 Added an SMOVE test where src and dest key are the same. 2012-04-18 18:00:12 +02:00
antirez
25b016e4d3 New hash fuzzing test. 2012-04-18 17:56:17 +02:00
antirez
353f01d462 Explicit RPOP/LPOP tests. 2012-04-18 17:32:48 +02:00
antirez
62d36c3d16 Test LINSERT syntax error. 2012-04-18 17:22:14 +02:00
antirez
eab7143b2c Test LINDEX out of range index. 2012-04-18 17:17:53 +02:00
antirez
afadac1728 Merge conflicts resolved. 2012-03-09 22:07:45 +01:00
antirez
5c54ab0b7f Issue #330 regression test. 2012-02-16 16:13:40 +01:00
Pieter Noordhuis
ae204e5428 Encode small hashes with a ziplist 2012-01-02 22:14:10 -08:00
antirez
d000c35b60 Added regression test for ZUNIONSTORE creating NaN (github issue #264) 2011-12-23 09:34:06 +01:00
antirez
26d2ed1ce4 more valgrind (and other archs) friendly testing of floating number related features. 2011-11-16 14:40:50 +01:00
antirez
85056993ed valgrind handles floating point numbers differently for some reason, so using "simpler" numbers to make tests happy. 2011-11-16 13:35:22 +01:00
antirez
0321c79b42 HINCRBYFLOAT tests 2011-11-15 15:26:10 +01:00
antirez
33dcbd6df7 string to number API is now more strict not accepting spaces before or after the number. A few tests converted to match the new error messages using the word float instead of double. 2011-11-14 15:34:44 +01:00
antirez
e9dee96c29 regression test for bug 593 added 2011-09-12 10:53:49 +02:00
Pieter Noordhuis
49fd303a6b HDEL: Abort deleting fields when hash is removed 2011-07-27 12:29:40 +02:00
antirez
02d67a4fbc fix a test timing issue when running the test over valgrind 2011-07-11 15:44:38 +02:00
antirez
d801f7a4be the test runs less iterations of slow tests if no --accurate is given. 2011-07-11 12:15:35 +02:00
antirez
8843375b2a list test further split into smaller units 2011-07-11 11:41:23 +02:00
antirez
a8644e8a26 list test split into smaller parts 2011-07-11 11:30:46 +02:00
antirez
7192cd5cb7 Fix for bug 561 and other related problems 2011-06-20 17:19:36 +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
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
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
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
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