]> git.saurik.com Git - redis.git/commitdiff
More robust maxclients test.
authorantirez <antirez@gmail.com>
Wed, 18 Apr 2012 09:34:18 +0000 (11:34 +0200)
committerantirez <antirez@gmail.com>
Wed, 18 Apr 2012 09:34:18 +0000 (11:34 +0200)
tests/unit/limits.tcl

index f622e1b91559150fde219f753d16a75d93aa8644..b37ea9b0f5b37efef1c47429d204b38d595e7202 100644 (file)
@@ -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