144 Commits

Author SHA1 Message Date
antirez
cdfd6a2607 Test: support for stack logging for OSX malloc/leaks. 2015-10-01 13:02:25 +02:00
antirez
5b562e64a0 Test: split basic unit into string, incr, keyspace units. 2015-02-25 10:33:29 +01:00
antirez
41d0e80ec3 Added regression test for issue #2371. 2015-02-10 14:40:27 +01:00
antirez
820d9dd5cb Test: try to cleanup still running Redis instances on exit.
It's hard to run the Redis test continuously if it leaks processes on
exceptions / errors.
2014-11-28 11:38:17 +01:00
antirez
bf470753ee Test framework: exit on timeout with report.
There was no sane way to detect tests that may never end because of
Redis bugs or tests bugs.
2014-11-28 11:05:58 +01:00
Matt Stancliff
a13ea7e6d4 Spell software correctly 2014-09-29 06:49:07 -04:00
Aaron Rutkovsky
bd82bd65c0 Fix typos
Closes #1513
2014-09-29 06:49:07 -04:00
antirez
038f6c8221 Initial HyperLogLog tests. 2014-04-03 22:16:05 +02:00
antirez
5917f2c5c5 Test: code to test server availability refactored.
Some inline test moved into server_is_up procedure.
Also find_available_port was moved into util since it is going
to be used for the Sentinel test as well.
2014-02-17 16:44:57 +01:00
antirez
3c7a5b29aa Test: fixed osx msg passing issue in testing framework.
The Redis test uses a server-clients model in order to parallelize the
execution of different tests. However in recent versions of osx not
setting the channel to a binary encoding caused issues even if AFAIK no
binary data is really sent via this channel. However now the channels
are deliberately set to a binary encoding and this solves the issue.

The exact issue was the test not terminating and giving the impression
of running forever, since test clients or servers were unable to
exchange the messages to continue.
2014-01-31 16:27:03 +01:00
antirez
d1bdb17b42 SCAN: tests moved to unit/scan.tcl. 2013-10-30 11:34:01 +01:00
antirez
b3277bab4b Test: added a memory efficiency test. 2013-08-29 16:23:57 +02:00
Jan-Erik Rediger
05b9bfc79b Little typo 2013-08-07 16:05:09 +02:00
Marc-Antoine Perennou
f9eef102c8 test-server: only listen to 127.0.0.1
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2013-06-12 22:49:32 +02:00
antirez
78abe60d77 Test: check that replication partial sync works if we break the link.
The test checks both successful syncs and unsuccessful ones by changing
the backlog size.
2013-05-08 13:01:44 +02:00
antirez
71a2ad0388 Test: new functions to capture and analyze the replication stream. 2013-03-27 11:29:47 +01:00
Johan Bergström
5d22ef818a Use info nameofexectuable to find current executable 2013-01-24 09:37:18 +11:00
Johan Bergström
75c251ff70 Enforce tcl 8.5 or newer 2013-01-24 09:36:59 +11:00
antirez
5ba2c439b0 Test: MULTI/EXEC tests moved into multi.tcl. 2012-11-22 10:32:12 +01:00
antirez
db845c2818 Test: more MIGRATE tests. 2012-11-14 12:12:52 +01:00
antirez
d7c60f0ca9 BITOP and BITCOUNT tests.
The Redis implementation is tested against Tcl implementations of the
same operation. Both fuzzing and testing of specific aspects of the
commands behavior are performed.
2012-05-24 15:19:48 +02:00
antirez
9d2a56f2d9 If the computer running the Redis test is slow, we revert to --clients 1 to avoid false positives. 2012-05-11 17:26:16 +02:00
antirez
9eb184b338 Test for maxclients. 2012-04-08 11:16:40 +02:00
Premysl Hruby
5c66c7dacf new option for choosing number of test clients to run 2012-04-03 14:20:52 +02:00
antirez
264d58460b DUMP, RESTORE, MIGRATE tests. 2012-04-02 11:44:25 +02:00
antirez
b3b02de664 Regression test for issue 417 (memory leak when replicating to DB with id >= 10) 2012-03-30 10:26:07 +02:00
antirez
626c23a540 convert-zipmap-hash-on-load test enabled 2012-03-24 11:42:20 +01:00
antirez
251268cbe0 RDB load of different encodings test added. 2012-03-23 20:24:30 +01:00
antirez
fc001ea069 Added test for client output buffer limit (hard limit). 2012-01-25 18:11:04 +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
98d2678d47 unit/introspection added among tests executed by default 2011-12-19 10:18:27 +01:00
antirez
edeadf517f Added tests for AOF rewrite. 2011-12-13 11:10:36 +01:00
antirez
314b0309a1 Redis test port allocation fixed. 2011-12-07 17:15:17 +01:00
antirez
b5b2eb3f18 --quiet option implemented in the Redis test. Output improved a bit. 2011-11-29 16:29:12 +01:00
antirez
184f967688 still problems with the AOF race regression test, disabling it again for now 2011-11-28 10:35:30 +01:00
antirez
1df5e5de1d aof-race test reenabled now that port allocation of the test suite is smarter 2011-11-18 15:53:47 +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
ee7e838830 commenting out aof-race test for now, waiting for a fix to issue #80 2011-09-16 15:43:03 +02:00
Pieter Noordhuis
a9f7a179fd Failing test related to AOF rewrite buffers 2011-09-16 11:25:05 +02:00
antirez
e7c4b3e835 Maxmemory test 2011-07-28 12:32:52 +02:00
antirez
335b27ecd0 master branch merged into scripting. 2011-07-12 12:39:16 +02:00
antirez
93e83b201b cleanup after test 2011-07-11 13:19:42 +02:00
antirez
0ff3937259 --help implemented 2011-07-11 13:03:22 +02:00
antirez
5acc46d6b3 better recap of failed tests. 2011-07-11 12:56:00 +02:00
antirez
e26ab6b234 initial support for failed tests summary at end of the test. 2011-07-11 12:44:55 +02:00
antirez
526ae422b1 implemented --single, --list-tests. --accurante and --help are now recognized but not actually implemented. 2011-07-11 11:59:55 +02:00
antirez
8843375b2a list test further split into smaller units 2011-07-11 11:41:23 +02:00
antirez
cf44de47c5 list-2 added to the list of tests 2011-07-11 11:32:19 +02:00
antirez
201d2fa360 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
818df58b14 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