summaryrefslogtreecommitdiff
path: root/tests/unit/limits.tcl
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2012-04-18 11:34:18 +0200
committerantirez <antirez@gmail.com>2012-04-18 11:34:18 +0200
commit8ec9b03c6b6bf266c2d16afc0d968181c7baea85 (patch)
treeae9f5382747d539f2cffa1f7e2a49dd92f2b5d37 /tests/unit/limits.tcl
parenta5f8341245aeebd22a2474e92c4ed497eae01545 (diff)
downloadredis-8ec9b03c6b6bf266c2d16afc0d968181c7baea85.tar.gz
More robust maxclients test.
Diffstat (limited to 'tests/unit/limits.tcl')
-rw-r--r--tests/unit/limits.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/limits.tcl b/tests/unit/limits.tcl
index f622e1b91..b37ea9b0f 100644
--- a/tests/unit/limits.tcl
+++ b/tests/unit/limits.tcl
@@ -4,7 +4,9 @@ start_server {tags {"limits"} overrides {maxclients 10}} {
catch {
while {$c < 50} {
incr c
- redis_deferring_client
+ set rd [redis_deferring_client]
+ $rd ping
+ $rd read
after 100
}
} e