antirez
43093dff2d
Redis test: two redundant tests removed as they tend to create issues when running the test with valgrind.
2011-12-07 18:31:39 +01:00
antirez
b1d08d4540
Redis test: wait more time for the server to start if it is running using valgrind.
2011-12-07 17:51:21 +01:00
antirez
dfcf5a0ac8
Redis test port allocation fixed.
2011-12-07 17:15:17 +01:00
antirez
85b69afede
EXPIRE tests more tolerant to random latency while the test is running.
2011-12-07 12:44:27 +01:00
antirez
846bcd9abe
Redis test: handle inability to start the server in a better way.
2011-12-07 11:47:38 +01:00
antirez
237194b760
Fixed SORT bugs (issue #224 ) with regression tests.
2011-12-01 16:08:05 +01:00
antirez
38b957d8ba
--quiet option implemented in the Redis test. Output improved a bit.
2011-11-29 16:29:12 +01:00
antirez
53a2af3941
still problems with the AOF race regression test, disabling it again for now
2011-11-28 10:35:30 +01:00
antirez
674df1eef5
Added regression tests for issue #209
2011-11-25 12:27:29 +01:00
antirez
5c63922691
aof-race test reenabled now that port allocation of the test suite is smarter
2011-11-18 15:53:47 +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
c0875a77a1
Regression test for issue #142 added
2011-10-17 10:41:46 +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
24bfb570ee
Redis test ports selection made more robust. This prevents the test from hanging if an already bound port is selected but the TCP server listening to it does not cause a protocol error with a Redis client PING. Also base port moved away from the range near to the Redis Cluster gossip ports.
2011-10-04 10:05:21 +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
dcdfd005a0
commenting out aof-race test for now, waiting for a fix to issue #80
2011-09-16 15:43:03 +02:00
Pieter Noordhuis
3aa4b00970
Failing test related to AOF rewrite buffers
2011-09-16 11:25:05 +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
antirez
e54484876a
fixed assert proc on Redis test
2011-07-28 12:31:44 +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
4c378d7f6c
new test engine valgrind support
2011-07-11 13:41:06 +02:00
antirez
c7c16a32a7
cleanup after test
2011-07-11 13:19:42 +02:00
antirez
e4715f0011
--help implemented
2011-07-11 13:03:22 +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
524d515f0c
implemented --single, --list-tests. --accurante and --help are now recognized but not actually implemented.
2011-07-11 11:59:55 +02:00
antirez
6209797d37
list test further split into smaller units
2011-07-11 11:41:23 +02:00
antirez
be9250c8cd
list-2 added to the list of tests
2011-07-11 11:32:19 +02:00
antirez
e46f78bd26
list test split into smaller parts
2011-07-11 11:30:46 +02:00
antirez
daab159932
no longer prints testing... but just shows the test when we get the final result from the testing client.
2011-07-11 00:53:30 +02:00
antirez
569f84aa7c
replication test split into three parts in order to improve test execution time. Random fixes and improvements.
2011-07-11 00:46:25 +02:00
antirez
82e5dd35ea
display less useless information in parallel test
2011-07-11 00:14:12 +02:00
antirez
3744824c3e
some test colorization and some fix
2011-07-11 00:09:56 +02:00
antirez
36e790a040
print execution time of different units at end
2011-07-10 23:57:35 +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
5ab1461f98
The test now gives some more time for Redis to start before of exiting with an error, since starting with valgrind can take a significant amount of time.
2011-07-09 19:23:46 +02:00
antirez
5521fa6a9f
Test for regression about: Redis should not try to convert DEL into EXPIREAT for EXPIRE -1
2011-07-08 12:20:30 +02:00
Hampus Wessman
72bae0cc75
Add test for incorrect expiration when loading AOF.
2011-07-07 16:08:22 +02:00
antirez
cabe03eb75
more valgrind friendly test
2011-07-06 15:22:00 +02:00
antirez
bbbf79ddb5
Added slowlog.tcl
2011-07-01 15:49:17 +02:00
antirez
17daf16f85
SLOWLOG tests
2011-06-30 18:44:58 +02:00
antirez
15bc1cc1bc
colorized test output shows scripting tests with X
2011-06-25 12:42:55 +02:00
antirez
994ed2bc55
unstable merge conflicts resolved
2011-06-25 12:29:24 +02:00
antirez
c9d0c3623a
diskstore removed
2011-06-25 12:22:03 +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
3fe40d6e3c
Variadic ZADD tests
2011-05-31 18:35:09 +02:00
antirez
449286a588
Scripting tests added
2011-05-25 12:32:50 +02:00
antirez
27fee630f5
Comment typo fixed
2011-05-24 10:43:35 +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
70bc5f7724
replication with expire test modified to produce no or less false failures
2011-05-12 20:21:43 +02:00
antirez
af9aed25e4
ZINTERSTORE regressiont test with two sets, intset+hashtable
2011-05-12 20:20:40 +02:00
Pieter Noordhuis
45b0f6fb14
Use correct argc/argv for cleanup when loading AOF
2011-04-22 09:44:06 +02:00
Pieter Noordhuis
d8b6ae3cd6
Reformat AOF tests
2011-04-22 09:43:26 +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
antirez
72dff2c084
test fixed after ascii art banner modified the output of a running server
2011-04-15 16:35:54 +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
4a67d194e9
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:41:27 +01:00
antirez
69cb546223
minor aesthetic change in test suite messages
2011-01-09 22:17:08 +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
antirez
5e1d2d30f7
initial fix of the test suite to run both in in-memory and diskstore mode
2011-01-09 16:49:52 +01:00
antirez
5d46e370b7
diskstore more fixes
2011-01-03 17:18:37 +01:00
antirez
4942145d72
fixed a bug in diskstore
2011-01-02 21:39:17 +01:00
antirez
53f0efe28c
Merge remote branch 'pietern/string-patches'
2010-12-15 11:52:55 +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
antirez
180e07b8c0
fixed test rendering when test failed in non verbose mode
2010-12-15 11:04:04 +01:00
antirez
7982173fef
print test names inline in the non verbose output mode
2010-12-15 10:44:36 +01:00
antirez
eae9cce166
colorized make test output when the verbose output is disabled (default)
2010-12-15 10:14:34 +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
antirez
d6107fd6f1
Merge remote branch 'pietern/testverbosity'
2010-12-10 17:24:03 +01:00
Pieter Noordhuis
6f8a32d5c7
Be less verbose in testing; improve error handling
2010-12-10 16:13:21 +01:00
antirez
4b918769a1
command line option in test suite to activate valgrind mode
2010-12-10 15:40:48 +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
4d7e125519
minor test suite bug fixed
2010-11-04 10:48:49 +01: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
5b12b47df9
Show output of leaks command on a leak
2010-10-15 15:56:16 +02:00
Pieter Noordhuis
00cf82c0bd
Change tcl client to only use the multibulk protocol
2010-10-15 15:50:29 +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
Pieter Noordhuis
941c9fa285
Return OK on QUIT
2010-10-13 11:25:40 +02:00
Pieter Noordhuis
9f1ae9abee
Allow to specify which specific test files to run
2010-10-13 09:26:44 +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
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
Pieter Noordhuis
ae77016e57
Add a newline to tty output after every reply
2010-08-25 13:39:11 +02:00
Pieter Noordhuis
4b93e5e267
Merge master and move argument splitting patch to sds.c
2010-08-25 13:08:43 +02:00
antirez
01daeecee7
added tests for invalid bulk argument
2010-08-24 11:49:05 +02:00
Pieter Noordhuis
029e5577ff
Make SORT use the hybrid set accessors to allow sorting intsets
2010-08-21 11:20:41 +02:00
Pieter Noordhuis
2b9a59471f
SORT tests with hash table encoded set as input
2010-08-21 11:03:56 +02:00
Pieter Noordhuis
ced6709cb9
Make SORT tests use both ziplists and linked lists as input
2010-08-21 11:02:22 +02:00
Pieter Noordhuis
5d4f3a8c85
Move SORT tests around
2010-08-21 10:55:53 +02:00
Pieter Noordhuis
a53ebb4c8e
Don't abort test suite when the server block has a return value
2010-08-21 10:54:31 +02:00
Pieter Noordhuis
87c74dfaa8
Check if stroll return value was clamped
2010-08-20 13:42:42 +02:00
Pieter Noordhuis
aaada3f962
Merge branch 'master' into intset-split
...
Conflicts:
src/Makefile
src/t_set.c
2010-08-20 12:40:55 +02:00
Pieter Noordhuis
3a51bff035
Change output format for non-tty redis-cli execution
2010-08-04 17:46:56 +02:00
Pieter Noordhuis
123a10f7a5
Let the output mode depend on having a tty or not
2010-08-04 17:16:05 +02:00
Pieter Noordhuis
07242c0ccf
Tests for redis-cli in non-interactive mode
...
Minor change in redis-cli output for the (multi-)bulk response but this
will be fixed in the next commit.
2010-08-04 17:02:13 +02:00
Pieter Noordhuis
0439d792c4
Add tests for quotation in an interactive redis-cli session
...
Patched redis-cli to abort on unexpected quotation. This caused
redis-cli to get into an infinite, memory-consuming loop.
2010-08-04 16:15:33 +02:00
Pieter Noordhuis
f2dd4769dd
Tests for the interactive mode of redis-cli
...
Changed redis-cli to output the raw response for a bulk reply when it is
run in interactive mode instead of checking isatty.
2010-08-04 15:28:03 +02:00
antirez
1fb4e8def7
PERSIST: a fix and some basic test
2010-08-03 14:25:22 +02:00
antirez
6146329f1f
replication test with expires
2010-08-03 13:38:39 +02:00
antirez
23d7298b15
Merge remote branch 'pietern/test-encoding-fix' into writeonexpire
2010-08-03 13:09:27 +02:00
antirez
2c572622fb
no longer passing tests due to the new write-on-volatile semantics modified/removed
2010-08-03 13:08:32 +02:00
Pieter Noordhuis
6825491928
Fix assertion function on value encoding
2010-08-01 11:20:26 +02:00
antirez
0c7a9dec65
Merge remote branch 'pietern/list-test'
2010-07-31 13:55:06 +02:00
Pieter Noordhuis
673e1fb7e4
Change getDoubleFromObject to fail on NaN.
...
Return an error when the resulting value is not a number (NaN). Fix
ZUNIONSTORE/ZINTERSTORE to clean up when a weight argument is not a
double value.
2010-07-29 23:05:01 +02:00
Pieter Noordhuis
d9e28bcf00
Fix ZUNIONSTORE/ZINTERSTORE to never store a NaN score.
...
When +inf and -inf are added, the result is NaN. We don't want NaN
scores in a sorted set, so agreed on the result of this operation being
zero.
2010-07-29 23:03:11 +02:00
Pieter Noordhuis
715c801a07
Use a large value to consistently trigger a list encoding,
...
even when the list is swapped out and in again.
2010-07-29 13:56:35 +02:00
Pieter Noordhuis
86d392498b
ensure the value is swapped in before testing its encoding
2010-07-29 13:31:24 +02:00
antirez
a0573260b0
better random dataset creation function in test. master-slave replication test now is able to save the two datasets in CSV when an inconsistency is detected.
2010-07-28 14:08:46 +02:00
antirez
db0c43a70c
removed test code having bad effects...
2010-07-27 14:46:39 +02:00
antirez
dd3f505ff5
Consistency test improved
2010-07-27 14:42:11 +02:00
antirez
80091bbaac
STRLEN command implemented
2010-07-27 10:09:26 +02:00
Pieter Noordhuis
e39c8b5047
exit with non-zero status when there are failed tests
2010-07-23 13:08:35 +02:00
antirez
b056ca39f2
improved random dataset creation in test: del, sunionstore, zunionstore
2010-07-06 18:30:38 +02:00
antirez
8b654e54c4
First implementation of a replication consistency test
2010-07-06 17:24:00 +02:00
antirez
b7a8daef60
WATCH will now consider touched keys target of EXPIRE command after the WATCH is performed, but not before
2010-07-05 19:38:12 +02:00
Pieter Noordhuis
96ffb2fe97
merged intset code into the split files
2010-07-02 19:57:12 +02:00
antirez
af4e866dbb
Merged with split
2010-07-01 16:55:12 +02:00
antirez
e2641e09cc
redis.c split into many different C files.
...
networking related stuff moved into networking.c
moved more code
more work on layout of source code
SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;)
cleanly compiling again after the first split, now splitting it in more C files
moving more things around... work in progress
split replication code
splitting more
Sets split
Hash split
replication split
even more splitting
more splitting
minor change
2010-07-01 14:38:51 +02:00
antirez
b8b8501d70
Merge remote branch 'pietern/zfixes'
2010-06-25 00:23:38 +02:00
Pieter Noordhuis
f483ce5ffe
fix unexpected behavior on an out of range end index for LRANGE and LTRIM
2010-06-24 15:12:42 -07:00
Pieter Noordhuis
c2ff0e90b8
more pub/sub tests
2010-06-16 11:03:23 +02:00
Pieter Noordhuis
4589a823fd
initial basic pub/sub tests
2010-06-16 11:01:42 +02:00
Pieter Noordhuis
5eedc9c65e
tests for BLPOP/BRPOP via an option in the tcl client that defers reading the reply
2010-06-15 21:23:18 +02:00
Pieter Noordhuis
4774a53b24
fix behavior for out-of-range negative end index on ZREMRANGEBYRANK
2010-06-15 16:21:42 +02:00
Pieter Noordhuis
184d74abc6
more tests for zrange and zrevrange; fix behavior for out-of-range negative end index
2010-06-15 15:40:28 +02:00
antirez
d52e588869
Merge branch 'ltrim-tests' of git://github.com/pietern/redis
2010-06-14 10:22:38 +02:00
Pieter Noordhuis
7e79de541a
rename "list" to "linkedlist" to be more verbose
2010-06-14 10:21:23 +02:00
antirez
7d04fc7563
allow running the test suite against an external Redis instance, without auto spawning
2010-06-14 10:19:45 +02:00
Pieter Noordhuis
08b5920750
change ltrim tests to cover all min/max cases and add stronger stresser
2010-06-14 09:45:34 +02:00
Pieter Noordhuis
273f616930
make sure sets have the right encoding when loaded from rdb
2010-06-13 21:42:04 +02:00
Pieter Noordhuis
ab37269c38
use max number of intset entries in tests and make SUNION/SINTER/SDIFF tests use less entries
2010-06-13 21:37:46 +02:00
Pieter Noordhuis
b978abbf02
small refactor of SMOVE and tests for SMOVE on sets with different encoding
2010-06-13 11:16:18 +02:00
Pieter Noordhuis
d0b58d5300
intset encoding for sets, refactored set tests to test both encodings
2010-06-12 22:25:22 +02:00
Pieter Noordhuis
23d3a5feef
make LINSERT return -1 when the value could not be inserted
2010-06-11 17:34:23 +02:00
Pieter Noordhuis
70b4b320ae
check if the list encoding needs to be changed on LPUSHX, RPUSHX, LINSERT
2010-06-11 14:52:35 +02:00
Pieter Noordhuis
244b873b0c
make sure the value to insert is string encoded
2010-06-11 13:27:21 +02:00
Robey Pointer
dedff272f6
squashed merge from robey/twitter3: LINSERT BEFORE|AFTER, LPUSHX, RPUSHX
2010-06-11 10:09:46 +02:00
Pieter Noordhuis
ab193fe452
generated tests for different encodings to avoid test code duplication
2010-06-04 17:05:54 +02:00
Pieter Noordhuis
d4507ec615
refactor list tests to test both encodings; implemented assert functions
2010-06-04 16:31:27 +02:00
Pieter Noordhuis
5a9fcb87ca
tag memory leak check on kill server as "leaks"
2010-06-03 00:27:09 +02:00
Pieter Noordhuis
afbf59145a
tag test with sleep() as slow
2010-06-03 00:26:39 +02:00
Pieter Noordhuis
f6fa411d6c
make sure the config it returned when called without code
2010-06-03 00:25:32 +02:00
Pieter Noordhuis
6b6f101c27
tag more slow tests
2010-06-03 00:16:10 +02:00
Pieter Noordhuis
5713f06b33
change how arguments are passed from the AOF tests
2010-06-03 00:16:02 +02:00
Pieter Noordhuis
7a6ae0a2b2
scope res variable outside test
2010-06-03 00:06:58 +02:00
Pieter Noordhuis
7f7499eeac
tags for existing tests
2010-06-02 23:22:25 +02:00
Pieter Noordhuis
73bd6c583b
pass tags to filter and match via arguments
2010-06-02 23:22:20 +02:00
Pieter Noordhuis
6e0e5bedd9
basic support to tag tests
2010-06-02 22:53:22 +02:00
Pieter Noordhuis
9e5d2e8bd6
changed how server.tcl accepts options to support more directives without requiring more arguments to the proc
2010-06-02 22:23:52 +02:00
Pieter Noordhuis
38273a9ed6
removed obsolete code
2010-06-02 21:53:15 +02:00
Pieter Noordhuis
436f18b618
catch exceptions in the server proc, to be able to kill the entire chain of running servers
2010-06-02 21:53:10 +02:00
antirez
5fc9229c34
Fixed ZINCR Nan bugs leading to server crash and added tests
2010-05-28 12:24:47 +02:00
antirez
4ea93ad3ac
new multi/exec tests
2010-05-27 16:08:44 +02:00
Josiah Carlson
bc000c1db0
allow regular sets to be passed to zunionstore/zinterstore
2010-05-26 16:07:04 +02:00
antirez
9b30e1a207
WATCH is now able to detect keys removed by FLUSHALL and FLUSHDB
2010-05-25 19:30:24 +02:00
antirez
c20c189db5
WATCH tests
2010-05-25 14:04:46 +02:00
antirez
c22b2ec863
by default test with valgrind does not show full leak info
2010-05-21 13:58:04 +02:00
antirez
c4669d257f
tests suite initial support for valgrind, fixed the old test suite until the new one is able to target a specific host/port
2010-05-21 12:00:13 +02:00
Pieter Noordhuis
f166bb1d50
code to enable running tests with the vm enabled
2010-05-20 13:58:58 +02:00
antirez
d6d3f92fb0
added regression for zipmap bug
2010-05-20 12:03:02 +02:00
Pieter Noordhuis
53cbf66caf
initial tests for AOF (and small changes to server.tcl to support these)
2010-05-19 14:54:20 +02:00
Pieter Noordhuis
46b614edf7
Merge branch 'master' into integration
2010-05-19 14:53:57 +02:00
Pieter Noordhuis
fdfb02e7ff
print warnings in redis log when a test raises an exception (very likely to be caused by something like a failed assertion)
2010-05-15 23:48:08 +02:00
antirez
76a224700d
added pid info to the check memory leaks test, so that those tests don't appear to be duplicated
2010-05-15 00:43:43 +02:00
Pieter Noordhuis
85ecc65edc
initial rough integration test for replication
2010-05-14 20:50:58 +02:00
Pieter Noordhuis
1c4114be40
store entire server object on the stack instead of just the client
2010-05-14 20:50:32 +02:00
Pieter Noordhuis
9cf9e6f197
proc to retrieve values from INFO properties
2010-05-14 20:48:57 +02:00
antirez
5d373da96a
ZUNION,ZINTER -> ZUNIONSTORE,ZINTERSTORE
2010-05-14 18:58:37 +02:00
antirez
ab72b4833d
minor fixes to the new test suite, html doc updated
2010-05-14 18:48:33 +02:00