From: antirez Date: Wed, 18 Apr 2012 09:34:18 +0000 (+0200) Subject: More robust maxclients test. X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/212bb9ca2e62019b3fc53ca080ab1d9884f81bec?hp=-c More robust maxclients test. --- 212bb9ca2e62019b3fc53ca080ab1d9884f81bec diff --git a/tests/unit/limits.tcl b/tests/unit/limits.tcl index f622e1b9..b37ea9b0 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