Regression test for issue 417 (memory leak when replicating to DB with id >= 10)

This commit is contained in:
antirez
2012-03-30 10:26:07 +02:00
parent 4cba71e898
commit 22c9c4076b
3 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,10 @@
source tests/support/redis.tcl
source tests/support/util.tcl
proc bg_complex_data {host port db ops} {
set r [redis $host $port]
$r select $db
createComplexDataset $r $ops
}
bg_complex_data [lindex $argv 0] [lindex $argv 1] [lindex $argv 2] [lindex $argv 3]