projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
727d6dd
)
More robust maxclients test.
author
antirez
<antirez@gmail.com>
Wed, 18 Apr 2012 09:34:18 +0000
(11:34 +0200)
committer
antirez
<antirez@gmail.com>
Wed, 18 Apr 2012 09:41:03 +0000
(11:41 +0200)
tests/unit/limits.tcl
patch
|
blob
|
blame
|
history
diff --git
a/tests/unit/limits.tcl
b/tests/unit/limits.tcl
index f622e1b91559150fde219f753d16a75d93aa8644..b37ea9b0f5b37efef1c47429d204b38d595e7202 100644
(file)
--- 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