diff options
author | antirez <antirez@gmail.com> | 2012-04-18 11:34:18 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2012-04-18 11:34:18 +0200 |
commit | 8ec9b03c6b6bf266c2d16afc0d968181c7baea85 (patch) | |
tree | ae9f5382747d539f2cffa1f7e2a49dd92f2b5d37 /tests/unit/limits.tcl | |
parent | a5f8341245aeebd22a2474e92c4ed497eae01545 (diff) | |
download | redis-8ec9b03c6b6bf266c2d16afc0d968181c7baea85.tar.gz |
More robust maxclients test.
Diffstat (limited to 'tests/unit/limits.tcl')
-rw-r--r-- | tests/unit/limits.tcl | 4 |
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 |