118 Commits

Author SHA1 Message Date
antirez
1d3d7fcbfd Redis test: regexp to check if valgrind reported errors modified. Now we no longer look at the total count because this includes "possibly lost" bytes that are not interesting for Redis (tons of false positives because of how sds.c works). 2012-03-28 10:55:17 +02:00
antirez
1aa0869998 Merge remote-tracking branch 'origin/unstable' into unstable 2012-03-24 12:07:58 +01:00
antirez
6023480646 When running the test in valgrind mode, pass the right flags to show memory leaks stack traces but only including the "definitely lost" items. 2012-03-24 12:07:14 +01:00
antirez
3cd475b254 DEBUG should not be flagged as w otherwise we can not call DEBUG DIGEST and other commands against read only slaves. 2012-03-20 17:53:47 +01:00
antirez
4f69e70bcd Regression test for the main problem causing issue #141. Minor changes/fixes/additions to the test suite itself needed to write the test. 2012-01-06 17:28:40 +01:00
antirez
9b63d1d81e Redis test: when assertion fails print not just the expression but also expanded values in the error message. 2011-12-21 09:23:22 +01:00
antirez
432123b821 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
48714948b4 Redis test: handle inability to start the server in a better way. 2011-12-07 11:47:38 +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
5531aa2b43 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
6a5ba0be41 fixed assert proc on Redis test 2011-07-28 12:31:44 +02:00
antirez
2840d1652f new test engine valgrind support 2011-07-11 13:41:06 +02:00
antirez
5acc46d6b3 better recap of failed tests. 2011-07-11 12:56:00 +02:00
antirez
87a724e547 display less useless information in parallel test 2011-07-11 00:14:12 +02:00
antirez
1bb0f27110 some test colorization and some fix 2011-07-11 00:09:56 +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
bab0bb0edf 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
d63741af03 more valgrind friendly test 2011-07-06 15:22:00 +02:00
antirez
9f7a139e7e test fixed after ascii art banner modified the output of a running server 2011-04-15 16:35:54 +02:00
antirez
21efce77ff 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
ee853db29d initial fix of the test suite to run both in in-memory and diskstore mode 2011-01-09 16:49:52 +01:00
antirez
9486677b46 diskstore more fixes 2011-01-03 17:18:37 +01:00
antirez
f86fdecd1d fixed test rendering when test failed in non verbose mode 2010-12-15 11:04:04 +01:00
antirez
f2682b6581 print test names inline in the non verbose output mode 2010-12-15 10:44:36 +01:00
antirez
ebfb89ec7a colorized make test output when the verbose output is disabled (default) 2010-12-15 10:14:34 +01:00
antirez
d6e04c2b24 Merge remote branch 'pietern/testverbosity' 2010-12-10 17:24:03 +01:00
Pieter Noordhuis
0dc602e3b5 Be less verbose in testing; improve error handling 2010-12-10 16:13:21 +01:00
antirez
ff81d69775 command line option in test suite to activate valgrind mode 2010-12-10 15:40:48 +01:00
antirez
e039e0488b minor test suite bug fixed 2010-11-04 10:48:49 +01:00
Pieter Noordhuis
4865ad620b Show output of leaks command on a leak 2010-10-15 15:56:16 +02:00
Pieter Noordhuis
a2459dd4e7 Change tcl client to only use the multibulk protocol 2010-10-15 15:50:29 +02:00
Pieter Noordhuis
f19ee10824 Return OK on QUIT 2010-10-13 11:25:40 +02:00
antirez
08f55b786b faster server starting in Redis tests 2010-08-31 11:17:06 +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
antirez
6146329f1f replication test with expires 2010-08-03 13:38:39 +02:00
Pieter Noordhuis
6825491928 Fix assertion function on value encoding 2010-08-01 11:20:26 +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
dd3f505ff5 Consistency test improved 2010-07-27 14:42:11 +02:00
antirez
b056ca39f2 improved random dataset creation in test: del, sunionstore, zunionstore 2010-07-06 18:30:38 +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
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
antirez
d52e588869 Merge branch 'ltrim-tests' of git://github.com/pietern/redis 2010-06-14 10:22:38 +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
Robey Pointer
dedff272f6 squashed merge from robey/twitter3: LINSERT BEFORE|AFTER, LPUSHX, RPUSHX 2010-06-11 10:09:46 +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