antirez
237194b760
Fixed SORT bugs (issue #224 ) with regression tests.
2011-12-01 16:08:05 +01:00
antirez
674df1eef5
Added regression tests for issue #209
2011-11-25 12:27:29 +01:00
antirez
bf758397a1
more valgrind (and other archs) friendly testing of floating number related features.
2011-11-16 14:40:50 +01:00
antirez
cd4aba36cd
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
3c5680ed9d
HINCRBYFLOAT tests
2011-11-15 15:26:10 +01:00
antirez
d4a3cfed9c
Merge branch 'unstable' into incrbyfloat
2011-11-14 15:59:56 +01:00
antirez
70023978fd
test for the new more strict behavior about number parsing
2011-11-14 15:39:55 +01:00
antirez
c9df799b2c
INCRBYFLOAT tests
2011-11-14 15:37:13 +01:00
antirez
d93f9a8644
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
762eea07ca
Added test to make sure Redis evicts expired keys actively (and not just in a lazy fashion).
2011-11-12 11:27:38 +01:00
antirez
64c7499eb8
new tests for EXPIRE family functions, new millisecond precision, and new millisecond argument variants.
2011-11-11 15:11:50 +01:00
antirez
ef23f3ac92
Script max execution time test disabled for now since it is no longer enforced.
2011-10-31 16:09:07 +01:00
antirez
e5abf6ef19
SCRIPT LOAD now returns the SHA1 instead of +OK
2011-10-25 14:46:15 +02:00
antirez
e8c993f0fb
Fixes for the scripting refactoring and new commands. Tests for the new features.
2011-10-25 11:19:15 +02:00
antirez
9ed32ba083
Redis.call is now split into two variants of the same function. Redis.call will raise an error by default. Redis.pcall will return the error object instead.
2011-10-20 16:02:23 +02:00
antirez
ab52d1f4a8
Fix for issue #132 . Now AUTH raises an error if no server password is configured.
2011-10-10 22:21:17 +02:00
antirez
02a3e58258
Added two new tests for RENAME, currently both will fail because of bug #128 .
2011-10-10 12:01:13 +02:00
antirez
7864ef8551
new tests for the scripting engine: not allowed commands and write commands after random commands.
2011-09-27 15:39:41 +02:00
antirez
7551e23716
regression test for bug 593 added
2011-09-12 10:53:49 +02:00
antirez
f65c8f654f
Merge remote-tracking branch 'origin/unstable' into unstable
2011-07-28 14:40:47 +02:00
antirez
4bb1ccc6eb
Regression for a crash with blocking ops and pipelining
2011-07-28 14:40:06 +02:00
antirez
3d9704d335
Merge remote branch 'origin/unstable' into unstable
2011-07-28 12:33:17 +02:00
antirez
243b783fdc
Maxmemory test
2011-07-28 12:32:52 +02:00
Pieter Noordhuis
2d7162bb1d
HDEL: Abort deleting fields when hash is removed
2011-07-27 12:29:40 +02:00
antirez
d50292d2cc
make a scripting test more valgrind friendly
2011-07-15 18:28:24 +02:00
antirez
61fee31999
test that EVALSHA is replicated as EVAL
2011-07-15 17:41:40 +02:00
antirez
0681c5ad84
master branch merged into scripting.
2011-07-12 12:39:16 +02:00
antirez
34a8b51768
solved a slow positive in the slow log test when the test is executed slowly
2011-07-11 16:04:18 +02:00
antirez
bf1379c8df
fixed another timing issue when running the test over valgrind or with very slow PCs
2011-07-11 15:58:31 +02:00
antirez
0717e3aa16
fix a test timing issue when running the test over valgrind
2011-07-11 15:44:38 +02:00
antirez
121ffc85f4
better recap of failed tests.
2011-07-11 12:56:00 +02:00
antirez
04e2410d2d
initial support for failed tests summary at end of the test.
2011-07-11 12:44:55 +02:00
antirez
30cf7be60c
the test runs less iterations of slow tests if no --accurate is given.
2011-07-11 12:15:35 +02:00
antirez
6209797d37
list test further split into smaller units
2011-07-11 11:41:23 +02:00
antirez
e46f78bd26
list test split into smaller parts
2011-07-11 11:30:46 +02:00
antirez
13566085cf
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
bbbf79ddb5
Added slowlog.tcl
2011-07-01 15:49:17 +02:00
antirez
994ed2bc55
unstable merge conflicts resolved
2011-06-25 12:29:24 +02:00
antirez
c1c9d551da
Fix for bug 561 and other related problems
2011-06-20 17:19:36 +02:00
Pieter Noordhuis
b0d1d2684d
SETNX regression tests.
2011-06-20 16:42:29 +02:00
antirez
0d1650f8a9
Updated to unstable
2011-06-14 18:06:39 +02:00
antirez
b002546bb4
ZREM tests
2011-05-31 20:30:54 +02:00
antirez
3738ff5f32
Fix for the variadic version of SREM. Regression test added.
2011-05-31 20:14:29 +02:00
antirez
faa2a80f89
disabled development test entry, tests moved in the right place
2011-05-31 18:49:12 +02:00
antirez
449286a588
Scripting tests added
2011-05-25 12:32:50 +02:00
antirez
6326c3ce73
Merge branch 'unstable' of github.com:antirez/redis into unstable
2011-05-20 11:45:05 +02:00
antirez
206d62710c
Print version info before running the test
2011-05-20 11:44:54 +02:00
antirez
521ddcce14
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
af9aed25e4
ZINTERSTORE regressiont test with two sets, intset+hashtable
2011-05-12 20:20:40 +02:00
antirez
b3a96d454e
Variadic SREM
2011-04-19 17:37:03 +02:00
antirez
64a13a36e6
variadic HDEL with tests
2011-04-19 17:07:55 +02:00
antirez
271f087842
Variadic SADD tests
2011-04-15 18:28:25 +02:00
antirez
9d0a8656c1
tests for variadic list push
2011-04-15 16:52:07 +02:00
Pieter Noordhuis
100ed062c0
Test for ENCODING_SKIPLIST instead of ENCODING_RAW
2011-04-06 16:17:07 +02:00
Pieter Noordhuis
04a10b1a6d
Test that sorted sets are removed when empty
2011-03-22 09:28:45 +01:00
Pieter Noordhuis
9ec4ea20a7
Test both sorted set encodings for every test
2011-03-14 10:54:37 +01:00
Pieter Noordhuis
e53ca04b50
Test for empty inner range when looking for elements in range
2011-03-11 18:18:02 +01:00
Pieter Noordhuis
8e1b327706
Test for ranges where min > max
2011-03-08 10:57:39 +01:00
Pieter Noordhuis
22b9bf1594
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
6c682e559c
Restore argc/argv in EXEC after command is executed
2011-02-23 14:37:22 +01:00
antirez
322ea972fe
run both inmemory and diskstore tests.
2011-01-09 19:42:56 +01:00
antirez
a5062bbab0
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
69bfffb4a7
test adapted to run with diskstore, and a few bugs fixed
2011-01-09 18:25:34 +01:00
Pieter Noordhuis
7d5f5712d9
Update tests for STRLEN
2010-12-15 11:49:39 +01:00
Pieter Noordhuis
8f8eeffec1
Disable negative offsets for SETRANGE
2010-12-15 11:30:50 +01:00
Pieter Noordhuis
e983cf34be
Add fuzzy test for SETBIT
2010-12-15 11:20:54 +01:00
Pieter Noordhuis
30407e1f4f
Make SETBIT return original bit value
2010-12-15 00:42:32 +01:00
antirez
603e616bf4
Merge branch 'master' of github.com:antirez/redis
2010-12-14 17:42:46 +01:00
antirez
57997664ea
Merge remote branch 'pietern/strrange'
2010-12-14 17:42:01 +01:00
antirez
f858c11d7d
Merge remote branch 'pietern/brpoplpush'
2010-12-14 16:26:37 +01:00
Pieter Noordhuis
d8f160a848
Add test cases for GETRANGE against integer-encoded strings
2010-12-14 15:35:35 +01:00
Pieter Noordhuis
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
Pieter Noordhuis
9f9e1ceaa0
Add SETRANGE command implementation and tests
2010-12-14 14:20:51 +01:00
Pieter Noordhuis
6f8a32d5c7
Be less verbose in testing; improve error handling
2010-12-10 16:13:21 +01:00
Pieter Noordhuis
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
Pieter Noordhuis
076f88d657
Enforce maximum string value length of 512MB
2010-12-09 17:16:10 +01:00
Pieter Noordhuis
3c1bf4957e
Add commands SETBIT/GETBIT
2010-12-09 16:39:33 +01:00
Pieter Noordhuis
ecf9401415
Fix case and indent
2010-12-06 16:04:42 +01:00
Pieter Noordhuis
8a88c368ed
Check other blocked clients when value could not be pushed
2010-12-06 16:04:10 +01:00
Michel Martens & Damian Janowski
baa14ef913
Fix BRPOPLPUSH behavior for all use cases.
2010-11-29 23:52:07 -03:00
Damian Janowski & Michel Martens
7c25a43adc
Handle BRPOPLPUSH inside a transaction.
2010-11-29 23:52:07 -03:00
Damian Janowski & Michel Martens
ba3b474111
Refactor code for BRPOPLPUSH.
2010-11-29 23:52:07 -03:00
Damian Janowski & Michel Martens
b2a7fd0cf7
BRPOPLPUSH.
2010-11-29 23:52:07 -03:00
antirez
21dbc6499a
merge conflict resolved
2010-10-28 22:59:47 +02:00
antirez
73abd0a9d2
Merge remote branch 'remotes/pietern/zrevrangebyscore'
2010-10-28 14:12:25 +02:00
Pieter Noordhuis
e584d82fec
Return error to client on wrong type for HMGET
2010-10-26 12:33:17 +02:00
Pieter Noordhuis
b19c33d48a
Prevent clients from making too large multibulk requests
2010-10-15 19:15:38 +02:00
Pieter Noordhuis
dc11daf3b5
Change tests to use either the inline or the multibulk protocol
2010-10-15 17:25:20 +02:00
Pieter Noordhuis
5a4f9f27e7
Add tests for OK on QUIT
2010-10-15 12:54:53 +02:00
Pieter Noordhuis
7236fdb22f
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
91504b6cbe
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
26f3388d27
Merge branch 'master' into zrevrangebyscore
2010-10-13 20:29:50 +02:00
antirez
4610b0332c
intset stress testing added, ziplist stress testing relocated in a more appropriate place
2010-09-24 11:15:06 +02:00
antirez
ef27ba988b
explicit regression test for a ziplist bug added
2010-09-24 10:37:00 +02:00
antirez
1a06bf93c4
ziplist implementation fuzzy tests
2010-09-24 10:30:15 +02:00
Pieter Noordhuis
25bb8a4452
Add ZREVRANGEBYSCORE and refactor Z*RANGEBYSCORE
2010-09-16 14:38:07 +02:00
Pieter Noordhuis
3c23ee1ba2
Fix another test that sometimes returned the swapped object instead of encoding
2010-09-13 16:59:46 +02:00
Pieter Noordhuis
efc5d4cc0d
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