antirez
d3701d2714
Limit memory used by big SLOWLOG entries.
...
Two limits are added:
1) Up to SLOWLOG_ENTRY_MAX_ARGV arguments are logged.
2) Up to SLOWLOG_ENTRY_MAX_STRING bytes per argument are logged.
3) slowlog-max-len is set to 128 by default (was 1024).
The number of remaining arguments / bytes is logged in the entry
so that the user can understand better the nature of the logged command.
2012-04-21 20:34:45 +02:00
antirez
47db53c3c3
New tests related to scripts max execution time.
2012-04-19 23:49:33 +02:00
antirez
5498e7bc76
Tests for scripting PRNG.
2012-04-18 23:50:16 +02:00
antirez
cddfd67ed4
Test SDIFF with first set empty.
2012-04-18 18:13:31 +02:00
antirez
4264459141
Test SINTER against same integer elements, but different set encoding.
2012-04-18 18:10:48 +02:00
antirez
f800942f64
Test SINTER with non existing key.
2012-04-18 18:05:02 +02:00
antirez
88f77a2b7e
Added an SMOVE test where src and dest key are the same.
2012-04-18 18:00:12 +02:00
antirez
e51a218aaa
New hash fuzzing test.
2012-04-18 17:56:17 +02:00
antirez
79daddd5ba
Explicit RPOP/LPOP tests.
2012-04-18 17:32:48 +02:00
antirez
7aa0dfd014
Test LINSERT syntax error.
2012-04-18 17:22:14 +02:00
antirez
94e5c1d7e5
Test LINDEX out of range index.
2012-04-18 17:17:53 +02:00
antirez
8ec9b03c6b
More robust maxclients test.
2012-04-18 11:34:18 +02:00
antirez
6a3f0ac68a
Added test for SORT corner case: pattern ending with just "->".
2012-04-17 16:28:59 +02:00
antirez
0705ff3f04
Less false positives in maxclients test, hopefully.
2012-04-17 10:04:42 +02:00
antirez
93a74949d7
Merge branch 'strict.lua' into unstable
2012-04-13 16:16:13 +02:00
antirez
13a21caae3
New test for scripting engine: DECR_IF_GT.
2012-04-13 15:23:32 +02:00
antirez
3cd4ad267c
Tests modified to match the new global protection implementation.
2012-04-13 13:40:57 +02:00
antirez
2fd7c9efde
Tests for lua globals protection.
2012-04-13 11:48:45 +02:00
antirez
a3af8d8e49
Test for maxclients.
2012-04-08 11:16:40 +02:00
antirez
69e7958918
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
4ce22375f4
Tests for MONITOR.
2012-04-07 11:26:24 +02:00
antirez
09f66a0be8
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
0daf7a2d16
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
15113dcd3d
More MIGRATE tests.
2012-04-03 15:10:51 +02:00
antirez
06e178708e
MIGRATE test modified because the implementation changed.
2012-04-02 16:38:59 +02:00
antirez
ab8232d022
DUMP, RESTORE, MIGRATE tests.
2012-04-02 11:44:25 +02:00
antirez
6aa2f98938
Test for redis.sha1hex().
2012-03-28 20:47:50 +02:00
antirez
6df450b77c
CLIENT LIST test modified to reflect the new output.
2012-03-13 18:06:29 +01:00
antirez
8562798308
Merge conflicts resolved.
2012-03-09 22:07:45 +01:00
antirez
fcdeb98568
even less false positive on obuf-limits test.
2012-02-22 11:25:30 +01:00
antirez
d347348109
Issue #330 regression test.
2012-02-16 16:13:40 +01:00
antirez
c17947287a
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
44d77bb217
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
01f75bf352
New SORT tests checking the new more deterministic behavior of SORT sorting algorithm.
2012-02-01 17:17:52 +01:00
antirez
de79a2ee12
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
2c861050c1
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
fc4ed4299b
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
a0bf8d0ad8
SORT with STORE removes key if result is empty. This fixes issue #227 .
2012-01-30 07:36:49 +01:00
antirez
6c29410117
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
7f7a13b27b
Less false positives for obuf-limits.tcl tests
2012-01-26 16:08:24 +01:00
antirez
da9c4cc147
Added test for client output buffer limit (soft limit).
2012-01-25 18:34:56 +01:00
antirez
efc8f6c1a2
Added test for client output buffer limit (hard limit).
2012-01-25 18:11:04 +01:00
antirez
3c0602ff41
CLIENT LIST test fixed (there is a new omem field in the output)
2012-01-23 16:19:49 +01:00
antirez
06f8a473fc
Regression tests for protocol desync bug related to Issue #141
2012-01-06 12:54:29 +01:00
Pieter Noordhuis
ebd85e9a45
Encode small hashes with a ziplist
2012-01-02 22:14:10 -08:00
antirez
9678c37577
Added regression test for ZUNIONSTORE creating NaN (github issue #264 )
2011-12-23 09:34:06 +01:00
antirez
d334281c80
Merge remote-tracking branch 'origin/unstable' into unstable
2011-12-21 17:13:31 +01:00
antirez
b4fb720b10
A test modified to pass with the new AOF start/stop semantics.
2011-12-21 09:24:14 +01:00
BigCat
f54c299091
I found that no test will fail even if I broke the SORT x LIMIT y z
code.
...
Added a naive unit test for SORT-LIMIT command.
2011-12-19 19:49:34 +08:00
antirez
3ae5a308db
unit/introspection.tcl added
2011-12-19 10:21:50 +01:00