466 Commits

Author SHA1 Message Date
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
da0fd6248c More robust maxclients test. 2012-04-18 11:34:18 +02:00
Michael Schlenker
00ed1334f7 Replace unnecessary calls to echo and cat
Tcl's exec can send data to stdout itself, no need to call cat/echo for
that usually.
2012-04-17 22:20:54 +02:00
antirez
8d1f304a34 Added test for SORT corner case: pattern ending with just "->". 2012-04-17 16:28:59 +02:00
antirez
2efe89f513 Less false positives in maxclients test, hopefully. 2012-04-17 10:04:42 +02:00
antirez
7509de176a Merge branch 'strict.lua' into unstable 2012-04-13 16:16:13 +02:00
antirez
549e3d0a85 New test for scripting engine: DECR_IF_GT. 2012-04-13 15:23:32 +02:00
antirez
a45cd5edd8 Tests modified to match the new global protection implementation. 2012-04-13 13:40:57 +02:00
antirez
1bbc0b92b7 Tests for lua globals protection. 2012-04-13 11:48:45 +02:00
antirez
9eb184b338 Test for maxclients. 2012-04-08 11:16:40 +02:00
antirez
2b621a5799 Added new test to check that "CONFIG appendonly no" actually kills the background AOF operation in progress if any. 2012-04-07 13:22:04 +02:00
antirez
06612a970f Tests for MONITOR. 2012-04-07 11:26:24 +02:00
antirez
8f49d6f257 New client info field added to CLIENT LIST output: multi, containing the length of the current pipeline. Test modified accordingly. 2012-04-07 11:14:52 +02:00
antirez
5705f88616 Two new tests for BGREWRTIEAOF.
Check for scheduled rewrite if a BGSAVAE is in progress.
Check for error if a rewrite is already in progress.
2012-04-06 23:52:53 +02:00
antirez
52dff91e8f redis.tcl: no longer leave unread replies if an error happens during a MULTI/EXEC block. 2012-04-06 23:52:28 +02:00
Salvatore Sanfilippo
1c701fbe84 Merge pull request #430 from anydot/f-testsuite
Two changes of testsuite (killing redis and new option)
2012-04-05 01:56:12 -07:00
antirez
a95fb8ebe2 On slow computers, 10 seconds are not enough for this heavy replication test. 2012-04-04 19:54:23 +02:00
antirez
687fd6e971 More MIGRATE tests. 2012-04-03 15:10:51 +02:00
Premysl Hruby
f9bbabc150 in kill_server send the signal once, then wait for up to 5sec before sending lethal SIGKILL 2012-04-03 14:20:52 +02:00
Premysl Hruby
5c66c7dacf new option for choosing number of test clients to run 2012-04-03 14:20:52 +02:00
antirez
28d265901a MIGRATE test modified because the implementation changed. 2012-04-02 16:38:59 +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
Xiaochen Wang
d62e1c39e4 fix typos in tests/assets/default.conf 2012-03-29 18:23:04 +08:00
antirez
322fa040e5 Test for redis.sha1hex(). 2012-03-28 20:47:50 +02:00
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
44a5424640 convert-zipmap-hash-on-load false positive fixed.
Apparently because the sample RDB file was not copied before every test
Redis had a chance to replace it with a newly written one, so that the
next test could fail.
2012-03-25 11:02:16 +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
626c23a540 convert-zipmap-hash-on-load test enabled 2012-03-24 11:42:20 +01:00
antirez
4c955a5715 Contextualize comment. 2012-03-23 20:24:40 +01:00
antirez
251268cbe0 RDB load of different encodings test added. 2012-03-23 20:24:30 +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
9704f5a005 CLIENT LIST test modified to reflect the new output. 2012-03-13 18:06:29 +01:00
antirez
887bd01a80 hash-max-zipmap-... renamed hash-max-ziplist-... in defalt conf for tests. 2012-03-10 12:14:17 +01:00
antirez
afadac1728 Merge conflicts resolved. 2012-03-09 22:07:45 +01:00
antirez
758de4c3d6 even less false positive on obuf-limits test. 2012-02-22 11:25:30 +01:00
antirez
5c54ab0b7f Issue #330 regression test. 2012-02-16 16:13:40 +01:00
antirez
fdac48210c Added tests checking ability of the scripting engine to reorder the output of commands with a random output regarding signle elements position in the multi bulk reply. 2012-02-01 17:49:03 +01:00
antirez
61cf87d7e3 A few SORT tests made more resistant to false negatives resulitng from poor randomization of Redis hash function with one byte inputs. 2012-02-01 17:37:48 +01:00
antirez
2b9f125601 New SORT tests checking the new more deterministic behavior of SORT sorting algorithm. 2012-02-01 17:17:52 +01:00
antirez
d26bae3ce9 Make SORT BY <constant> STORE ... to always produce the same output by force sorting, so that we have deterministic replication of this command. 2012-02-01 17:05:45 +01:00
antirez
4a6e6ac8e6 SORT is now more deterministic: does not accept to compare by score items that have scores not representing a valid double. Also items with the same score are compared lexycographically. At the same time the scripting side introduced the ability to sort the output of SORT when sort uses the BY <constant> optimization, resulting in no specific ordering. Since in this case the user may use GET, and the result of GET can be null, converted into false as Lua data type, this commit also introduces the ability to sort Lua tables containining false, only if the first (faster) attempt at using just table.sort with a single argument fails. 2012-02-01 15:22:28 +01:00
antirez
eeb8c0a5f5 minimal change to obuf-limits.tcl test to make sure there are no false positives with 32bit instances as well. 2012-01-30 21:08:10 +01:00
Michal Kwiatkowski
03bbd4468a SORT with STORE removes key if result is empty. This fixes issue #227. 2012-01-30 07:36:49 +01:00
antirez
6ff5d74b5a false positive in expire tests mitigated with a sleep, but other solutions exist if needed later. 2012-01-26 16:45:08 +01:00
antirez
3638a60058 Less false positives for obuf-limits.tcl tests 2012-01-26 16:08:24 +01:00
Pieter Noordhuis
a40390001d Test that zipmap from RDB is correctly converted 2012-01-25 13:28:11 -08:00
antirez
e28a9ac80d Added test for client output buffer limit (soft limit). 2012-01-25 18:34:56 +01:00